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


UserInteractionServices.GetElementName Method (IModelElement, Boolean, Boolean, Boolean, Int32)

Returns the element name for the specified element.

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

Syntax

'Declaration
Protected Overridable Function GetElementName ( _
    element As IModelElement, _
    escape As Boolean, _
    fullName As Boolean, _
    includeType As Boolean, _
    numberOfPartsToSkip As Integer _
) As String
protected virtual string GetElementName(
    IModelElement element,
    bool escape,
    bool fullName,
    bool includeType,
    int numberOfPartsToSkip
)
protected:
virtual String^ GetElementName(
    IModelElement^ element, 
    bool escape, 
    bool fullName, 
    bool includeType, 
    int numberOfPartsToSkip
)
abstract GetElementName : 
        element:IModelElement * 
        escape:bool * 
        fullName:bool * 
        includeType:bool * 
        numberOfPartsToSkip:int -> string 
override GetElementName : 
        element:IModelElement * 
        escape:bool * 
        fullName:bool * 
        includeType:bool * 
        numberOfPartsToSkip:int -> string 
protected function GetElementName(
    element : IModelElement, 
    escape : boolean, 
    fullName : boolean, 
    includeType : boolean, 
    numberOfPartsToSkip : int
) : String

Parameters

  • includeType
    Type: System.Boolean
    true to append the element type description to the beginning of the string.
  • numberOfPartsToSkip
    Type: System.Int32
    An int that indicates the number of name parts from the front to skip.

Return Value

Type: System.String
The element name.

Remarks

The parameters specify how the display name should be constructed.

.NET Framework Security

See Also

Reference

UserInteractionServices Class

GetElementName Overload

Microsoft.Data.Schema Namespace

ModelElement