Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetTransfer Method
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class : GetTransfer 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.
index
Index of the Transfer Syntax to get.
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.
index
Index of the Transfer Syntax to get.
Gets the Transfer Syntax for the specified Presentation Context and index.

Syntax

Visual Basic (Declaration) 
Public Function GetTransfer( _
   ByVal id As Byte, _
   ByVal index As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim id As Byte
Dim index As Integer
Dim value As String
 
value = instance.GetTransfer(id, index)
C# 
public string GetTransfer( 
   byte id,
   int index
)
C++/CLI 
public:
String^ GetTransfer( 
   byte id,
   int index
) 

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.
index
Index of the Transfer Syntax to get.

Return Value

The Transfer Syntax Name for the specified Presentation Context and index.

Example

For an example, refer to DicomNet.SendCEchoRequest.

Remarks

A DICOM Associate (Request or Accept) can have multiple Presentation Contexts. A DICOM Associate Request can have multiple Transfer Syntax entries for each Presentation Context. A Transfer Syntax can be retrieved by specifying the ID for the appropriate Presentation Context and the index for the appropriate 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