←Select platform

GetChild Method

Summary

Returns the item in the IOD Structure that contains the first child of the specified item.

Syntax
C#
VB
Java
C++
public DicomIod GetChild( 
   DicomIod iod 
) 
Public Function GetChild( _ 
   ByVal iod As DicomIod _ 
) As DicomIod 
public DicomIod getChild(DicomIod iod) 
public: 
DicomIod^ GetChild(  
   DicomIod^ iod 
)  

Parameters

iod
an item in the IOD Structure.

Return Value

DicomIod that contains the item in the IOD Structure that is the first child of the item specified in the IOD.

Remarks
  • This method requires that the IOD Structure is evaluated as a tree structure.
  • The child is the offspring one level lower than the specified item. If the specified item has no child items, this method will return null. For example
  • getchild.gif
    If the passed class is : The method returns:
    Item 1 null
    Item 2 Item 3
    Item 4 Item 5
    Item 6 null

    The following methods will also help you navigate the IOD Structure:

Example

For an example, refer to Reset.

Requirements

Target Platforms

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

Leadtools.Dicom Assembly