Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the element 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, _
numberOfPartsToSkip As Integer _
) As String
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
)
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
protected function GetElementName(
element : IModelElement,
escape : boolean,
fullName : boolean,
includeType : boolean,
numberOfPartsToSkip : int
) : String
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
A ModelElement object.
- escape
Type: System.Boolean
true to escape the returned name.
- fullName
Type: System.Boolean
true to return the full element name.
- includeType
Type: System.Boolean
true to append the element type description to the beginning of the string.
- numberOfPartsToSkip
Type: System.Int32
An int that indicates the number of name parts from the front to skip.
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.