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




id
Presentation Context ID. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data.
uid
The new Transfer Syntax to add. For a list of possible values, refer to Transfer Syntax Values.
Adds a Transfer Syntax to the specified Presentation Context.

Syntax

Visual Basic (Declaration) 
Public Sub AddTransfer( _
   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.AddTransfer(id, uid)
C# 
public void AddTransfer( 
   byte id,
   string uid
)
Managed Extensions for C++ 
public: void AddTransfer( 
   byte id,
   string* uid
) 
C++/CLI 
public:
void AddTransfer( 
   byte id,
   String^ uid
) 

Parameters

id
Presentation Context ID. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data.
uid
The new Transfer Syntax to add. For a list of possible values, refer to Transfer Syntax Values.

Example

For an exmple, refer to SendCEchoRequest.

Remarks

A DICOM Associate (Request or Accept) can have multiple Presentation Contexts. A Transfer Syntax can be added by specifying the ID for the appropriate Presentation Context to which to add the Transfer Syntax.

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