Поделиться через


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

Параметры

  • escape
    Тип: System.Boolean
    Логическое значение true для преобразования возвращаемого имени в escape-последовательность.
  • fullName
    Тип: System.Boolean
    Логическое значение true, чтобы вернуть полное имя элемента.
  • numberOfPartsToSkip
    Тип: System.Int32
    Значение int, указывающее количество частей имени с начала, которые необходимо пропустить.

Возвращаемое значение

Тип: System.String
Имя указанного элемента.

Заметки

Параметры указывают, как следует формировать отображаемое имя.

Безопасность платформы .NET Framework

См. также

Ссылки

UserInteractionServices Класс

GetDisplayName - перегрузка

Microsoft.Data.Schema - пространство имен

ModelIdentifier