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

返回标识符的显示名称。

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

语法

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

参数

  • numberOfPartsToSkip
    类型:System.Int32
    一个 int,指示从头开始要跳过的名称部分数。

返回值

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

备注

该参数指定如何构造显示名称。

.NET Framework 安全性

请参见

参考

UserInteractionServices 类

GetDisplayName 重载

Microsoft.Data.Schema 命名空间

ModelIdentifier