Partager via


MinLength Property

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

Gets or sets the minimum length required for the string.

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

Syntax

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

value = instance.MinLength

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

Property Value

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

Remarks

Stores the minimum length required for the string.

Permissions

See Also

Reference

StringLengthValidationException Class

StringLengthValidationException Members

Microsoft.CommerceServer Namespace