ModelMetadata.GetDisplayName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for