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
參數
- identifier
型別:Microsoft.Data.Schema.SchemaModel.ModelIdentifier
項目的 ModelIdentifier。
- escape
型別:System.Boolean
true 表示逸出傳回的名稱。
- fullName
型別:System.Boolean
true 表示傳回完整項目名稱。
傳回值
型別:System.String
指定的項目名稱。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。