語言

IDataSourceFieldSchema.Length 屬性

定義

會得到一個指示欄位中可儲存資料大小的值。

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

屬性值

欄位可儲存的位元組數。

備註

對於物件 DataColumn ,屬性 Length 對應於該 MaxLength 性質。

適用於

另請參閱