GetModuleCount Example for VB.NET
'LEADDICOM1 is a DICOM Dataset defined outside this method
Private Sub TestGetModuleCount ( )
Dim lCount
As Integer
lCount = LEADDICOM1.GetModuleCount
MessageBox.Show("Module Count: " & CStr(lCount))
End Sub