←Select platform

GetChildKey Method

Summary

Returns the item in the Dicom Dir Data Set that is the first child of the specified item.

Syntax
C#
VB
C++
Java
public DicomElement GetChildKey( 
   DicomElement element 
) 
Public Function GetChildKey( _ 
   ByVal element As DicomElement _ 
) As DicomElement 
public DicomElement getChildKey(DicomElement element) 
public: 
DicomElement^ GetChildKey(  
   DicomElement^ element 
)  

Parameters

element
An item in the Data Set.

Return Value

The item in the Data Set that is the first child of the item specified by element, or a null reference (Nothing in VB) if element has no child items.

Remarks

The child is the offspring one level lower than the specified item. If the specified item has no child items, this method will return a null reference (Nothing in VB). For example:

getchild.gif

If the passed object points to: The method returns an object pointing to:
Item 1 null
Item 2 Item 3
Item 4 Item 5
Item 6 null

The following methods will also help you navigate the Data Set:

GetFirstKey

GetLastKey

GetNextKey

GetRootKey

GetParentKey

Example

For an example, refer to Reset.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly