Length Property
Collapse the table of content
Expand the table of content

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)

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
Show:
© 2016 Microsoft