다음을 통해 공유


MaxLength Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the maximum length required for the string.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Public Property MaxLength As Integer
'Usage
Dim instance As StringLengthValidationException
Dim value As Integer

value = instance.MaxLength

instance.MaxLength = value
public int MaxLength { get; set; }
public:
property int MaxLength {
    int get ();
    void set (int value);
}
public function get MaxLength () : int
public function set MaxLength (value : int)

Property Value

Type: System..::.Int32
The maximum length required for the string.

Remarks

Stores the maximum length required for the string.

Permissions

See Also

Reference

StringLengthValidationException Class

StringLengthValidationException Members

Microsoft.CommerceServer Namespace