LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7.

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

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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