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

SetExtendedData(Byte,IntPtr,Int32) Method








Presentation Context ID of the Presentation Context to which to set 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.
Pointer to a buffer that contains the data to set.
Length of the data.
Sets the extended data associated with the specified Presentation Context. .NET support WinRT support
Syntax
public void SetExtendedData( 
   byte id,
   IntPtr data,
   int dataLength
)
'Declaration
 
Public Overloads Sub SetExtendedData( _
   ByVal id As Byte, _
   ByVal data As IntPtr, _
   ByVal dataLength As Integer _
) 
'Usage
 
Dim instance As DicomAssociate
Dim id As Byte
Dim data As IntPtr
Dim dataLength As Integer
 
instance.SetExtendedData(id, data, dataLength)
public void SetExtendedData( 
   byte id,
   IntPtr data,
   int dataLength
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomAssociate.SetExtendedData(Byte,IntPtr,Int32)( 
   id ,
   data ,
   dataLength 
)
public:
void SetExtendedData( 
   byte id,
   IntPtr data,
   int dataLength
) 

Parameters

id
Presentation Context ID of the Presentation Context to which to set 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.
data
Pointer to a buffer that contains the data to set.
dataLength
Length of the data.
Remarks
To retrieve the length of the extended data associated with a Presentation Context, call GetExtendedDataLength.

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

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
Overload List
GetExtendedDataLength Method
GetExtendedDataPtr Method
GetExtendedData 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