←Select platform

GetParent Method

Summary
Returns the item in the IOD Structure that contains the parent of the specified item.
Syntax
C#
VB
C++
Java
public DicomIod GetParent( 
   DicomIod iod 
) 
Public Function GetParent( _ 
   ByVal iod As DicomIod _ 
) As DicomIod 
public DicomIod getParent(DicomIod iod) 
public: 
DicomIod^ GetParent(  
   DicomIod^ iod 
)  

Parameters

iod
An item in the IOD Structure.

Return Value

DicomIod class that contains the item in the IOD Structure that is the parent of the item specified in the IOD.

Remarks
  • This method requires that the IOD Structure is evaluated as a tree structure.
  • The parent is the ancestor one level higher than the specified item. If the specified item is a Level 0 item, this method will return null. Please note that the numbering of the items in this illustration is arbitrary and does not imply order.
  • getprnt.gif
    If the passed class is : The method returns:
    Item 1 null
    Item 2 Item 3
    Item 4 Item 3
    Item 5 Item 6

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

Requirements

Target Platforms

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

Leadtools.Dicom Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.