UserInteractionServices.GetElementName Method (IModelElement, ElementNameStyle)

Returns the element name for the specified element.

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

Syntax

'Declaration
Public Overridable Function GetElementName ( _
    element As IModelElement, _
    style As ElementNameStyle _
) As String
public virtual string GetElementName(
    IModelElement element,
    ElementNameStyle style
)
public:
virtual String^ GetElementName(
    IModelElement^ element, 
    ElementNameStyle style
)
abstract GetElementName : 
        element:IModelElement * 
        style:ElementNameStyle -> string 
override GetElementName : 
        element:IModelElement * 
        style:ElementNameStyle -> string 
public function GetElementName(
    element : IModelElement, 
    style : ElementNameStyle
) : String

Parameters

Return Value

Type: System.String
The element name in the specified style.

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

ElementNameStyle