Rediger

Del via


DataObjectFieldAttribute.Length Property

Definition

Gets the length of the property in bytes.

public:
 property int Length { int get(); };
public int Length { get; }
member this.Length : int
Public ReadOnly Property Length As Integer

Property Value

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

Remarks

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.

Applies to