ColumnProvider::MaxLength Property

 

Gets or sets the maximum length that is allowed for this column.

Namespace:   System.Web.DynamicData.ModelProviders
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public:
property int MaxLength {
	virtual int get();
	protected: virtual void set(int value);
}

Property Value

Type: System::Int32

The maximum length that is allowed for this column.

This property applies to string data types only.

.NET Framework
Available since 3.5
Return to top
Show: