次の方法で共有


Generator.MaxLength プロパティ

この列の値の最大長を取得または設定します。

名前空間:  Microsoft.Data.Schema.Tools.DataGenerator
アセンブリ:  Microsoft.Data.Schema.Tools (Microsoft.Data.Schema.Tools.dll 内)

構文

'宣言
<InputAttribute(AutoAssignedInput := AutoAssignedInput.MaxLength, Visible := False)> _
Public Property MaxLength As Integer
    Get
    Set
[InputAttribute(AutoAssignedInput = AutoAssignedInput.MaxLength, Visible = false)]
public int MaxLength { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::MaxLength, Visible = false)]
public:
property int MaxLength {
    int get ();
    void set (int value);
}
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.MaxLength, Visible = false)>]
member MaxLength : int with get, set
function get MaxLength () : int
function set MaxLength (value : int)

プロパティ値

型: System.Int32
列の最大長を格納している int。

解説

このプロパティは、名前付きパラメーターの InputAttributeAutoAssignedInput によって修飾されます。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

Generator クラス

Microsoft.Data.Schema.Tools.DataGenerator 名前空間

InputAttribute

AutoAssignedInput