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 > DicomDataSet Class : FindModuleByIndex Method



index
The zero-based index of the module, on Level 0 of the Data Set, to get.
index
The zero-based index of the module, on Level 0 of the Data Set, to get.
Returns a DicomModule object that contains information about the module, on Level 0, at the specified index. Supported in Silverlight, Windows Phone 7.

Syntax

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

Parameters

index
The zero-based index of the module, on Level 0 of the Data Set, to get.

Return Value

A DicomModule object that contains information about the module at the specified index on Level 0 of the Data Set, or a null reference (Nothing in Visual Basic) if no module at the specified index was found.

Example

For an example, refer to DicomDataSet.DeleteModule.

Remarks

This method only finds modules at a specific index on Level 0 of the Data Set.

To find information about a module within the Data Set use Leadtools.Dicom.DicomDataSet.FindModule.

To find specific elements within the Data Set use the following:

FindFirstElement

Leadtools.Dicom.DicomDataSet.FindLastElement

Leadtools.Dicom.DicomDataSet.FindPreviousElement

Leadtools.Dicom.DicomDataSet.FindNextElement

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