ModelMetadata.GetDisplayName Method

Definition

Returns text to display as the name of the model in UI.

public:
 System::String ^ GetDisplayName();
public string GetDisplayName ();
member this.GetDisplayName : unit -> string
Public Function GetDisplayName () As String

Returns

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.

Applies to