Share via


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

Gets the element name.

Namespace:  Microsoft.Data.Schema.Extensibility
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
'Usage
Dim element As IModelElement
Dim escape As Boolean
Dim fullName As Boolean
Dim includeType As Boolean
Dim numberOfPartsToSkip As Integer
Dim returnValue As String

returnValue = Me.GetElementName(element, _
    escape, fullName, includeType, numberOfPartsToSkip)
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
)
protected function GetElementName(
    element : IModelElement, 
    escape : boolean, 
    fullName : boolean, 
    includeType : boolean, 
    numberOfPartsToSkip : int
) : String
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 

Parameters

  • numberOfPartsToSkip
    Type: System.Int32
    The number of parts to skip

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

UserInteractionServices Class

UserInteractionServices Members

GetElementName Overload

Microsoft.Data.Schema.Extensibility Namespace