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




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
)
Managed Extensions for 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 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