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 名前空間