DataTypeAttribute.DisplayFormat 屬性

定義

取得資料欄位的顯示格式。

public:  property System::ComponentModel::DataAnnotations::DisplayFormatAttribute ^ DisplayFormat {  public:
System::ComponentModel::DataAnnotations::DisplayFormatAttribute ^ get(); protected:
 void set(System::ComponentModel::DataAnnotations::DisplayFormatAttribute ^ value); };
public System.ComponentModel.DataAnnotations.DisplayFormatAttribute DisplayFormat { get; protected set; }
public System.ComponentModel.DataAnnotations.DisplayFormatAttribute? DisplayFormat { get; protected set; }
member this.DisplayFormat : System.ComponentModel.DataAnnotations.DisplayFormatAttribute with get, set
Public Property DisplayFormat As DisplayFormatAttribute

屬性值

資料欄位的顯示格式。

適用於

另請參閱