取得或設定這個資料行中值的最大長度。
命名空間: 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 ,包含資料行的最大長度。
備註
這個屬性會以 InputAttribute 和 AutoAssignedInput 具名參數來裝飾。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。