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


UserInteractionServices.GetDisplayName Method (ModelIdentifier, Boolean, Boolean, Int32)

Returns a display name for an identifier.

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
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

Parameters

  • numberOfPartsToSkip
    Type: System.Int32
    An int that indicates the number of name parts from the front to skip.

Return Value

Type: System.String
The name of the specified element.

Remarks

The parameters specify how the display name should be constructed.

.NET Framework Security

See Also

Reference

UserInteractionServices Class

GetDisplayName Overload

Microsoft.Data.Schema Namespace

ModelIdentifier