MetaColumn.DataFormatString 屬性

定義

取得字串,這個字串指定欄位值的顯示格式。

public:
 property System::String ^ DataFormatString { System::String ^ get(); };
public string DataFormatString { get; }
member this.DataFormatString : string
Public ReadOnly Property DataFormatString As String

屬性值

String

字串,指定欄位值的顯示格式。

實作

備註

DataFormatString屬性會驗證屬性 DisplayFormatAttribute 是否套用至資料欄位,並抓取屬性的值 DisplayFormatAttribute.DataFormatString 。 如果 DisplayFormatAttribute 找不到屬性,此屬性會驗證是否 DataTypeAttribute 已套用屬性來取出格式資訊。

適用於

另請參閱