Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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
)
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 example, refer to DicomAssociate.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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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