Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 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 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