FieldSchema.MaxLength 属性

获取字段的最大长度。

命名空间: Microsoft.Synchronization.MetadataStorage
程序集: Microsoft.Synchronization.MetadataStorage(在 microsoft.synchronization.metadatastorage.dll 中)

语法

声明
Public ReadOnly Property MaxLength As UInteger
用法
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

属性值

字段的最大长度。

备注

对于固定长度字段,此值为数据类型的大小(以字节为单位)。对于可变长度字段,此值指定字段的最大长度,当字段为字节数组时以字节为单位,当字段为字符串时以字符为单位。

请参阅

参考

FieldSchema 类
FieldSchema 成员
Microsoft.Synchronization.MetadataStorage 命名空间