Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft