LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

GetExtendedData Method








Presentation Context ID of the Presentation Context from which to retrieve 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 extended data associated with the specified Presentation Context. .NET support
Syntax
public byte[] GetExtendedData( 
   byte id
)
'Declaration
 
Public Function GetExtendedData( _
   ByVal id As Byte _
) As Byte()
'Usage
 
Dim instance As DicomAssociate
Dim id As Byte
Dim value() As Byte
 
value = instance.GetExtendedData(id)
public byte[] GetExtendedData( 
   byte id
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomAssociate.GetExtendedData( 
   id 
)
public:
array<byte>^ GetExtendedData( 
   byte id
) 

Parameters

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

Return Value

Buffer that contains the extended data of the specified Presentation Context of the DICOM Associate.
Remarks
To retrieve the length of the extended data associated with a Presentation Context, call GetExtendedDataLength.

To set the extended data associated with a Presentation Context, call SetExtendedData(Byte,Byte[]).

Example
For an example, refer to IsRoleSelect.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomAssociate Class
DicomAssociate Members
GetExtendedDataLength Method
GetExtendedDataPtr Method
SetExtendedData(Byte,Byte[]) Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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