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

AddUserInformation(Byte,IntPtr,Int32) Method








Type of the User-defined item.
Pointer to a buffer that contains the data for the User-defined item.
Length of the User-defined item.
Appends a User-defined item to the DICOM Associate. .NET support WinRT support
Syntax
public void AddUserInformation( 
   byte type,
   IntPtr data,
   int dataLength
)
'Declaration
 
Public Overloads Sub AddUserInformation( _
   ByVal type As Byte, _
   ByVal data As IntPtr, _
   ByVal dataLength As Integer _
) 
'Usage
 
Dim instance As DicomAssociate
Dim type As Byte
Dim data As IntPtr
Dim dataLength As Integer
 
instance.AddUserInformation(type, data, dataLength)
public void AddUserInformation( 
   byte type,
   IntPtr data,
   int dataLength
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomAssociate.AddUserInformation(Byte,IntPtr,Int32)( 
   type ,
   data ,
   dataLength 
)
public:
void AddUserInformation( 
   byte type,
   IntPtr data,
   int dataLength
) 

Parameters

type
Type of the User-defined item.
data
Pointer to a buffer that contains the data for the User-defined item.
dataLength
Length of the User-defined item.
Remarks
User-defined items may be included in the DICOM Associate to provide any other data the user finds necessary when establishing a DICOM Associate connection. The basic structure of the User-defined item is

where the Type, Length and User Data are all determined by the user. The values shown are the lengths, in bytes, of the elements of the User-defined item.
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
UserInformationCount Property
GetUserInformationType Method
GetUserInformationDataLength Method
GetUserInformationDataPtr Method
GetUserInformationData Method
SetUserInformation(Int32,Byte,IntPtr,Int32) Method
DeleteUserInformation 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