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



type
The class in which to look for the module.
index
Value that indicates the position of the module within the class. This index is zero-based. For example, if nIndex is 2 and class is DicomClassType.NMImageStorage, this method will return the item in the IOD Structure that contains the IOD for the module at index position 2 in the Nuclear Medicine Image class.
type
The class in which to look for the module.
index
Value that indicates the position of the module within the class. This index is zero-based. For example, if nIndex is 2 and class is DicomClassType.NMImageStorage, this method will return the item in the IOD Structure that contains the IOD for the module at index position 2 in the Nuclear Medicine Image class.
Returns the item in the IOD Structure that contains the IOD for the module in the specified class at the specified index.

Syntax

Visual Basic (Declaration) 
Public Function FindModuleByIndex( _
   ByVal type As DicomClassType, _
   ByVal index As Integer _
) As DicomIod
Visual Basic (Usage)Copy Code
Dim instance As DicomIodTable
Dim type As DicomClassType
Dim index As Integer
Dim value As DicomIod
 
value = instance.FindModuleByIndex(type, index)
C# 
public DicomIod FindModuleByIndex( 
   DicomClassType type,
   int index
)
C++/CLI 
public:
DicomIod^ FindModuleByIndex( 
   DicomClassType type,
   int index
) 

Parameters

type
The class in which to look for the module.
index
Value that indicates the position of the module within the class. This index is zero-based. For example, if nIndex is 2 and class is DicomClassType.NMImageStorage, this method will return the item in the IOD Structure that contains the IOD for the module at index position 2 in the Nuclear Medicine Image class.

Return Value

DicomIod class in the IOD Structure that contains the IOD for the module at the specified index position in the specified class.

Example

For an example, refer to DicomIodTable.Reset.

Remarks

  • To find the IOD of a module within a class use FindModule. To find the IOD for a specific class use FindClass.
  • Find lets you find IODs for classes, modules or elements in 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