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 > 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.

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 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 FindModule.

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

FindFirstElement

FindLastElement

FindPreviousElement

FindNextElement

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