Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
AddUserInformation(Byte,IntPtr,Int32) Method
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class > AddUserInformation Method : AddUserInformation(Byte,IntPtr,Int32) Method




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.
Appends a User-defined item to the DICOM Associate.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub AddUserInformation( _
   ByVal type As Byte, _
   ByVal data As IntPtr, _
   ByVal dataLength As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim type As Byte
Dim data As IntPtr
Dim dataLength As Integer
 
instance.AddUserInformation(type, data, dataLength)
C# 
public void AddUserInformation( 
   byte type,
   IntPtr data,
   int dataLength
)
Managed Extensions for C++ 
public: void AddUserInformation( 
   byte type,
   IntPtr data,
   int dataLength
) 
C++/CLI 
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.

Example

For an exmple, refer to IsRoleSelect.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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