语言

ModelMetadata.GetDisplayName 方法

定义

获取模型的显示名称。

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

返回

显示名称。

注解

GetDisplayName() 将返回以下具有非null 值的表达式中的第一个: DisplayName、 Name或 ModelType.Name。

适用于