LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetUserInformation(Int32,Byte,IntPtr,Int32) Method
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class > SetUserInformation Method : SetUserInformation(Int32,Byte,IntPtr,Int32) Method



index
Index of the User-defined item to set.
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.
index
Index of the User-defined item to set.
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.
Sets the specified User-defined item.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub SetUserInformation( _
   ByVal index As Integer, _
   ByVal type As Byte, _
   ByVal data As IntPtr, _
   ByVal dataLength As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim index As Integer
Dim type As Byte
Dim data As IntPtr
Dim dataLength As Integer
 
instance.SetUserInformation(index, type, data, dataLength)
C# 
public void SetUserInformation( 
   int index,
   byte type,
   IntPtr data,
   int dataLength
)
C++/CLI 
public:
void SetUserInformation( 
   int index,
   byte type,
   IntPtr data,
   int dataLength
) 

Parameters

index
Index of the User-defined item to set.
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

For more information about User-defined items, refer to AddUserInformation(Byte,Byte[]).

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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