Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ModelMetadata::DisplayName Property

Gets or sets the display name of the model.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public:
virtual property String^ DisplayName {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
The display name of the model.

This property is used in the LabelFor method to generate the label text.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.