IDataSourceFieldSchema.Length Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

int Length { 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