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




sopInstanceUID
The SOPInstanceUID of the data set to be associated with the annotation storageFile.
storageFile
The file that contains the annotations
description
A description that is asociated with the annotations
sopInstanceUID
The SOPInstanceUID of the data set to be associated with the annotation storageFile.
storageFile
The file that contains the annotations
description
A description that is asociated with the annotations
Stores the annotation storageFile in the database.

Syntax

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

Parameters

sopInstanceUID
The SOPInstanceUID of the data set to be associated with the annotation storageFile.
storageFile
The file that contains the annotations
description
A description that is asociated with the annotations

Return Value

An AnnotationIdentifier.

Remarks

This method stores the annotations contained in storageFile in a database by executing the query defined by the PrepareStoreAnnotationObjectCommand method. An AnnotationIdentifier is returned that associates the annotation storageFile with the sopInstanceUID and the description.

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