Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
MaxLength Property
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class : MaxLength Property



Gets or sets the Maximum Length for data transfer.

Syntax

Visual Basic (Declaration) 
Public Property MaxLength As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim value As Integer
 
instance.MaxLength = value
 
value = instance.MaxLength
C# 
public int MaxLength {get; set;}
C++/CLI 
public:
property int MaxLength {
   int get();
   void set (int value);
}

Return Value

The Maximum Length for data transfer. A value of -1 means that the Maximum Length restriction is disabled; otherwise, the Maximum Length must be 0, or >= 8 and it must be an even number (8, 10, 12, _).

Example

For an example, refer to DicomNet.SendCEchoRequest.

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