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



id
Presentation Context ID of the Presentation Context from which to retrieve the length of the extended data. 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.
id
Presentation Context ID of the Presentation Context from which to retrieve the length of the extended data. 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.
Gets the length of the extended data associated with the specified Presentation Context.

Syntax

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

Parameters

id
Presentation Context ID of the Presentation Context from which to retrieve the length of the extended data. 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.

Example

For an example, refer to DicomAssociate.IsRoleSelect.

Remarks

To retrieve the extended data associated with a Presentation Context, call GetExtendedData or GetExtendedDataPtr.

To set the extended data associated with a Presentation Context, call SetExtendedData.

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