ModelMetadata.GetDisplayName Method ()
Returns text to display as the name of the model in UI.
Assembly: System.Web (in System.Web.dll)
Return ValueType: System.String
Text to display as the name of the model in UI. The default is the value of the DisplayName property if that value is not null. If the DisplayName property is null, the default value is the value of the PropertyName property. If the PropertyName property is null, the default value comes from the Name property of the ModelType property.
Available since 4.5