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