次の方法で共有


MaxLength プロパティ

フィールドの最大長を取得します。

名前空間:  Microsoft.Synchronization.MetadataStorage
アセンブリ:  Microsoft.Synchronization.MetadataStorage (Microsoft.Synchronization.MetadataStorage.dll 内)

構文

'宣言
Public ReadOnly Property MaxLength As UInteger
    Get
'使用
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

プロパティ値

型 : System. . :: . .UInt32
フィールドの最大長です。

説明

固定長フィールドの場合、この値はデータ型のサイズをバイト単位で表します。可変長フィールドの場合、この値はフィールドの最大長 (フィールドがバイト配列の場合はバイト数、文字列の場合は文字数) を指定します。

参照

参照

FieldSchemaクラス

FieldSchema メンバー

Microsoft.Synchronization.MetadataStorage 名前空間