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

Returns the 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 _
) As String
protected virtual string GetElementName(
    IModelElement element,
    bool escape,
    bool fullName,
    bool includeType
)
protected:
virtual String^ GetElementName(
    IModelElement^ element, 
    bool escape, 
    bool fullName, 
    bool includeType
)
abstract GetElementName : 
        element:IModelElement * 
        escape:bool * 
        fullName:bool * 
        includeType:bool -> string 
override GetElementName : 
        element:IModelElement * 
        escape:bool * 
        fullName:bool * 
        includeType:bool -> string 
protected function GetElementName(
    element : IModelElement, 
    escape : boolean, 
    fullName : boolean, 
    includeType : boolean
) : String

Parameters

  • includeType
    Type: System.Boolean
    true to indicate that the type of the element is included.

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