public DicomElement InsertKey(
DicomElement parent,
DicomDirKeyType key,
bool optional
)
- (nullable LTDicomElement *)insertKey:(LTDicomElement *)parent key:(LTDicomDirKeyType)key optional:(BOOL)optional;
public:
DicomElement^ InsertKey(
DicomElement^ parent,
DicomDirKeyType key,
bool optional
)
parent
A key element in the Data Set. The new key element will be inserted as a child of this key element.
key
The type of key element to insert.
optional
true to insert all parts of the specified key element; false to insert only the mandatory parts of the specified key element.
The newly inserted item.
The newly inserted key element is inserted as a child of parent.
For an example, refer to Reset.
InsertKey(DicomElement,String,Boolean) Method
FindFirstKey(DicomElement,String,Boolean) Method