←Select platform

GetModuleCount Method

Summary
Returns the number of modules in the specified IOD class.
Syntax
C#
VB
C++
Java
public int GetModuleCount( 
   DicomClassType type 
) 
Public Function GetModuleCount( _ 
   ByVal type As DicomClassType _ 
) As Integer 
public int getModuleCount(DicomClassType type) 
public: 
int GetModuleCount(  
   DicomClassType type 
)  

Parameters

type
Class constant that specifies the class in which to look for the module.

Return Value

An Int32 that represents the number of modules in the specified IOD class.

Remarks
  • To find the IOD of a module at a specific index within a class use FindModuleByIndex. To find the IOD for a specific class use FindClass.
  • Find lets you find IODs for classes, modules or elements in the IOD Structure.
Example

For an example, refer to Reset.

Requirements

Target Platforms

Help Version 22.0.2021.9.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly