LEADTOOLS Medical (Leadtools.Medical.Workstation.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
GetAnnotationObjectsCount Method
See Also 
Leadtools.Medical.Workstation.DataAccessLayer Namespace > WorkstationDataAccessAgent Class : GetAnnotationObjectsCount Method




sopInstanceUID
The SOP Instance UID of the data set that is associated with the annotation.
sopInstanceUID
The SOP Instance UID of the data set that is associated with the annotation.
Returns the count of annotation containers that is associated with the sopInstanceUID.

Syntax

Visual Basic (Declaration) 
Public Function GetAnnotationObjectsCount( _
   ByVal sopInstanceUID As String _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As WorkstationDataAccessAgent
Dim sopInstanceUID As String
Dim value As Integer
 
value = instance.GetAnnotationObjectsCount(sopInstanceUID)
C# 
public int GetAnnotationObjectsCount( 
   string sopInstanceUID
)
Managed Extensions for C++ 
public: int GetAnnotationObjectsCount( 
   string* sopInstanceUID
) 
C++/CLI 
public:
int GetAnnotationObjectsCount( 
   String^ sopInstanceUID
) 

Parameters

sopInstanceUID
The SOP Instance UID of the data set that is associated with the annotation.

Return Value

The count of annotation containers that is associated with the sopInstanceUID.

Remarks

This method returns the count of annotation containers that is associated with the sopInstanceUID. This is retrieved from a database by executing the query defined by the PrepareGetAnnotationsCountCommand method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also