LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

InsertKey(DicomElement,DicomDirKeyType,Boolean) Method








A key element in the Data Set. The new key element will be inserted as a child of this key element.
The type of key element to insert.
true to insert all parts of the specified key element; false to insert only the mandatory parts of the specified key element.
Inserts a new key element in the Dicom Dir Data Set. .NET support WinRT support
Syntax
public DicomElement InsertKey( 
   DicomElement parent,
   DicomDirKeyType key,
   bool optional
)
'Declaration
 
Public Overloads Function InsertKey( _
   ByVal parent As DicomElement, _
   ByVal key As DicomDirKeyType, _
   ByVal optional As Boolean _
) As DicomElement
'Usage
 
Dim instance As DicomDataSet
Dim parent As DicomElement
Dim key As DicomDirKeyType
Dim optional As Boolean
Dim value As DicomElement
 
value = instance.InsertKey(parent, key, optional)
public DicomElement InsertKey( 
   DicomElement parent,
   DicomDirKeyType key,
   bool optional
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.InsertKey(DicomElement,DicomDirKeyType,Boolean)( 
   parent ,
   key ,
   optional 
)
public:
DicomElement^ InsertKey( 
   DicomElement^ parent,
   DicomDirKeyType 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.
Remarks
The newly inserted key element is inserted as a child of parent.
Example
For an example, refer to Reset.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomDataSet Class
DicomDataSet Members
Overload List
InsertKey(DicomElement,String,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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features