DataObjectFieldAttribute::Length Property

 

Gets the length of the property in bytes.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
property int Length {
	int get();
}

Property Value

Type: System::Int32

The length of the property in bytes, or -1 if not set.

Set the Length property to the length, in bytes, of the data from the underlying data store. If the Length property is not set, it will be -1.

Set the Length property with one of the DataObjectFieldAttribute constructors.

.NET Framework
Available since 2.0
Return to top
Show: