Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets the display name of the model.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overridable Property DisplayName As String
Get
Set
public virtual string DisplayName { get; set; }
public:
virtual property String^ DisplayName {
String^ get ();
void set (String^ value);
}
Property Value
Type: System.String
The display name of the model.
Remarks
This property is used in the LabelFor<TModel, TValue> method to generate the label text.