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

參數

  • fullName
    型別:System.Boolean
    true 表示傳回完整項目名稱。

傳回值

型別:System.String
指定的項目名稱。

.NET Framework 安全性

請參閱

參考

UserInteractionServices 類別

GetDisplayName 多載

Microsoft.Data.Schema 命名空間

ModelIdentifier