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

DeleteKey Method








The key element to delete.
Deletes the specified key element from the Dicom Dir Data Set. .NET support WinRT support Silverlight support
Syntax
public void DeleteKey( 
   DicomElement element
)
'Declaration
 
Public Sub DeleteKey( _
   ByVal element As DicomElement _
) 
'Usage
 
Dim instance As DicomDataSet
Dim element As DicomElement
 
instance.DeleteKey(element)
public void DeleteKey( 
   DicomElement element
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.DeleteKey( 
   element 
)
public:
void DeleteKey( 
   DicomElement^ element
) 

Parameters

element
The key element to delete.
Remarks
When a key element is deleted using this method, all offspring of the key element (both key element children and non-key element children) and all their respective children are also deleted. Below are illustrations of this.

For the sake of these illustrations, the order of siblings is top to bottom.

Please note that the numbering of the items of interest is arbitrary, and does not imply order.

In this illustration, item 2 will be deleted. If any of the children of item 2 had children, these would be deleted also.

In this illustration, item 3 will be deleted. Again, if any of the children of item 2 had children, these would be deleted also.

Please note that key elements should not be deleted using DeleteElement. Deleting a key element using DeleteElement will not delete any child key elements, but will delete information that references the child key elements.

For more information about key elements, refer to Working with Basic Directory Key Elements.

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
InsertKey(DicomElement,DicomDirKeyType,Boolean) 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