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;} |
Managed Extensions for C++ | |
---|
public: __property int get_MaxLength();
public: __property void set_MaxLength(
int value
); |
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
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