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
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
- escape
Type: System.Boolean
- fullName
Type: System.Boolean
true to return the full element name.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.