- 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.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function InsertKey( _ ByVal parent As DicomElement, _ ByVal key As String, _ ByVal optional As Boolean _ ) As DicomElement |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DicomDataSet Dim parent As DicomElement Dim key As String Dim optional As Boolean Dim value As DicomElement value = instance.InsertKey(parent, key, optional) |
C# | |
---|---|
public DicomElement InsertKey( DicomElement parent, string key, bool optional ) |
C++/CLI | |
---|---|
public: DicomElement^ InsertKey( DicomElement^ parent, String^ key, bool optional ) |
Parameters
- 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.
Return Value
The newly inserted item.For an example, refer to Leadtools.Dicom.DicomDataSet.Reset.
The newly inserted key element is inserted as a child of parent.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Reference
DicomDataSet ClassDicomDataSet Members
Overload List
InsertKey(DicomElement,DicomDirKeyType,Boolean) Method
DeleteKey Method
GetRootKey Method
GetParentKey Method
GetChildKey Method
GetFirstKey Method
GetLastKey Method
GetPreviousKey Method
GetNextKey Method
FindFirstKey(DicomElement,String,Boolean) Method
FindLastKey(DicomElement,String,Boolean) Method
FindPreviousKey Method
FindNextKey Method
GetKeyValue Method
GetKeyValuePtr Method
GetKeyValueString Method