Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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
)
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 example, refer to DicomNet.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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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