←Select platform

GetParent Method

Summary

Returns the item in the IOD Structure that contains the parent of the specified item.

Syntax

C#
VB
Java
WinRT C#
C++
Public Function GetParent( _ 
   ByVal iod As Leadtools.Dicom.DicomIod _ 
) As Leadtools.Dicom.DicomIod 
public DicomIod getParent(DicomIod iod) 
 function Leadtools.Dicom.DicomIodTable.GetParent(  
   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.
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: - GetFirst - GetLast - GetNext - GetRoot - GetChild
Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize