UserInteractionServices.GetDisplayName 方法 (ModelIdentifier, Boolean, Boolean)

返回标识符的显示名称,同时指定是否对名称使用转义字符、提供全名还是缩写形式。

命名空间:  Microsoft.Data.Schema
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Public Overridable Function GetDisplayName ( _
    identifier As ModelIdentifier, _
    escape As Boolean, _
    fullName As Boolean _
) As String
public virtual string GetDisplayName(
    ModelIdentifier identifier,
    bool escape,
    bool fullName
)
public:
virtual String^ GetDisplayName(
    ModelIdentifier^ identifier, 
    bool escape, 
    bool fullName
)
abstract GetDisplayName : 
        identifier:ModelIdentifier * 
        escape:bool * 
        fullName:bool -> string 
override GetDisplayName : 
        identifier:ModelIdentifier * 
        escape:bool * 
        fullName:bool -> string 
public function GetDisplayName(
    identifier : ModelIdentifier, 
    escape : boolean, 
    fullName : boolean
) : String

参数

返回值

类型:System.String
指定元素的名称。

.NET Framework 安全性

请参见

参考

UserInteractionServices 类

GetDisplayName 重载

Microsoft.Data.Schema 命名空间

ModelIdentifier