DataTypeAttribute.DisplayFormat 屬性

定義

取得資料欄位的顯示格式。Gets a data-field display format.

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

屬性值

DisplayFormatAttribute

資料欄位的顯示格式。The data-field display format.

適用於

另請參閱