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
'Usage
Dim instance As FieldSchema
Dim value As UInteger

value = instance.MaxLength
public uint MaxLength { get; }
public:
property unsigned int MaxLength {
    unsigned int get ();
}
/** @property */
public UInt32 get_MaxLength ()
public function get MaxLength () : uint

Property Value

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
FieldSchema Members
Microsoft.Synchronization.MetadataStorage Namespace