Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetParent Method
See Also 
Leadtools.Dicom Namespace > DicomIodTable Class : GetParent Method



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

Syntax

Visual Basic (Declaration) 
Public Function GetParent( _
   ByVal iod As DicomIod _
) As DicomIod
Visual Basic (Usage)Copy Code
Dim instance As DicomIodTable
Dim iod As DicomIod
Dim value As DicomIod
 
value = instance.GetParent(iod)
C# 
public DicomIod GetParent( 
   DicomIod iod
)
C++/CLI 
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 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:

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features