←Select platform

GetModuleCount Method

Summary

Returns the number of modules in the specified IOD class.

Syntax

C#
VB
Java
WinRT C#
C++
public int GetModuleCount( 
   DicomClassType type 
) 
Public Function GetModuleCount( _ 
   ByVal type As Leadtools.Dicom.DicomClassType _ 
) As Integer 
public int GetModuleCount(  
   Leadtools.Dicom.DicomClassType type 
) 
public int getModuleCount(DicomClassType type) 
 function Leadtools.Dicom.DicomIodTable.GetModuleCount(  
   type  
) 
public: 
int GetModuleCount(  
   Leadtools.Dicom.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly