MaxLengthAttribute.Length 屬性

定義

取得陣列或字串資料所容許的最大長度。

public:
 property int Length { int get(); };
public int Length { get; }
member this.Length : int
Public ReadOnly Property Length As Integer

屬性值

陣列或字串資料所容許的最大長度。

適用於