IDataSourceFieldSchema::Length Property

 

Gets a value indicting the size of data that can be stored in the field.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

property int Length {
	int get();
}

Property Value

Type: System::Int32

The number of bytes the field can store.

For a DataColumn object, the Length property corresponds to the MaxLength property.

.NET Framework
Available since 2.0
Return to top
Show: