- 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.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub SetExtendedData( _ ByVal id As Byte, _ ByVal data As IntPtr, _ ByVal dataLength As Integer _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As DicomAssociate Dim id As Byte Dim data As IntPtr Dim dataLength As Integer instance.SetExtendedData(id, data, 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.
For an example, refer to DicomAssociate.IsRoleSelect.
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 Leadtools.Dicom.DicomAssociate.GetExtendedDataPtr.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)