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




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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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