Share via


FieldSchema.MaxLength Property

Gets the maximum length of the field.

Namespace:  Microsoft.Synchronization.MetadataStorage
Assembly:  Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)

Syntax

'Declaration
Public ReadOnly Property MaxLength As UInteger
    Get
'Usage
Dim instance As FieldSchema
Dim value As UInteger

value = instance.MaxLength
public uint MaxLength { get; }
public:
property unsigned int MaxLength {
    unsigned int get ();
}
member MaxLength : uint32
function get MaxLength () : uint

Property Value

Type: System.UInt32
The maximum length of the field.

Remarks

For fixed-length fields, this value is the size of the data type in bytes. For variable-length fields, this value specifies the maximum length of the field in bytes when the field is an array of bytes, or in characters when the field is a string.

See Also

Reference

FieldSchema Class

Microsoft.Synchronization.MetadataStorage Namespace