Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
SetAbstract Method
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class : SetAbstract Method




id
Presentation Context ID of the Presentation Context whose Abstract Syntax is to be set. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.
uid
The Abstract Syntax Name to set. For a list of possible values, refer to Abstract Syntax Values. The maximum length for this value is 64.
Sets the Abstract Syntax of the specified Presentation Context of the DICOM Associate.

Syntax

Visual Basic (Declaration) 
Public Sub SetAbstract( _
   ByVal id As Byte, _
   ByVal uid As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim id As Byte
Dim uid As String
 
instance.SetAbstract(id, uid)
C# 
public void SetAbstract( 
   byte id,
   string uid
)
Managed Extensions for C++ 
public: void SetAbstract( 
   byte id,
   string* uid
) 
C++/CLI 
public:
void SetAbstract( 
   byte id,
   String^ uid
) 

Parameters

id
Presentation Context ID of the Presentation Context whose Abstract Syntax is to be set. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.
uid
The Abstract Syntax Name to set. For a list of possible values, refer to Abstract Syntax Values. The maximum length for this value is 64.

Example

For an exmple, refer to SendCEchoRequest.

Remarks

The Abstract Syntax provides information about the class type of the data that will be transferred across the DICOM Associate connection.

This method is valid only for DICOM Associates of type Associate Request.

To get the Abstract Syntax of a specific Presentation Context, call GetAbstract.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features