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




command
The System.Data.Common.DbCommand to be initialized.
sopInstanceUID
The SOP Instance UID of the data set that is associated with the annotation.
annotationNumber
The ID of the annotation container
command
The System.Data.Common.DbCommand to be initialized.
sopInstanceUID
The SOP Instance UID of the data set that is associated with the annotation.
annotationNumber
The ID of the annotation container
Initializes a System.Data.Common.DbCommand to get the description of annotation containers associated with an sopInstanceUID.

Syntax

Visual Basic (Declaration) 
Protected MustOverride Sub PrepareGetAnnotationDescriptionCommand( _
   ByVal command As DbCommand, _
   ByVal sopInstanceUID As String, _
   ByVal annotationNumber As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As WorkstationDataAccessAgent
Dim command As DbCommand
Dim sopInstanceUID As String
Dim annotationNumber As Integer
 
instance.PrepareGetAnnotationDescriptionCommand(command, sopInstanceUID, annotationNumber)
C# 
protected abstract void PrepareGetAnnotationDescriptionCommand( 
   DbCommand command,
   string sopInstanceUID,
   int annotationNumber
)
Managed Extensions for C++ 
protected: abstract void PrepareGetAnnotationDescriptionCommand( 
   DbCommand* command,
   string* sopInstanceUID,
   int annotationNumber
) 
C++/CLI 
protected:
abstract void PrepareGetAnnotationDescriptionCommand( 
   DbCommand^ command,
   String^ sopInstanceUID,
   int annotationNumber
) 

Parameters

command
The System.Data.Common.DbCommand to be initialized.
sopInstanceUID
The SOP Instance UID of the data set that is associated with the annotation.
annotationNumber
The ID of the annotation container

Remarks

Override this method to provide the database specific behavior for getting the annotation count that corresponds to an sopInstanceUID.

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