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
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element
- escape
Type: System.Boolean
Specifies whether to escape
- fullName
Type: System.Boolean
Specifies whether full name
- includeType
Type: System.Boolean
Specifies whether to include type
- numberOfPartsToSkip
Type: System.Int32
The number of parts to skip
Return Value
Type: System.String
.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.