Redigera

Dela via


DataTypeAttribute.DisplayFormat Property

Definition

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

Property Value

The data-field display format.

Applies to

See also