UserInteractionServices.GetDisplayName Method (ModelIdentifier, Boolean, Boolean, Int32)
Returns a display name for an identifier.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overridable Function GetDisplayName ( _
identifier As ModelIdentifier, _
escape As Boolean, _
fullName As Boolean, _
numberOfPartsToSkip As Integer _
) As String
public virtual string GetDisplayName(
ModelIdentifier identifier,
bool escape,
bool fullName,
int numberOfPartsToSkip
)
public:
virtual String^ GetDisplayName(
ModelIdentifier^ identifier,
bool escape,
bool fullName,
int numberOfPartsToSkip
)
abstract GetDisplayName :
identifier:ModelIdentifier *
escape:bool *
fullName:bool *
numberOfPartsToSkip:int -> string
override GetDisplayName :
identifier:ModelIdentifier *
escape:bool *
fullName:bool *
numberOfPartsToSkip:int -> string
public function GetDisplayName(
identifier : ModelIdentifier,
escape : boolean,
fullName : boolean,
numberOfPartsToSkip : int
) : String
Parameters
- identifier
Type: Microsoft.Data.Schema.SchemaModel.ModelIdentifier
A ModelIdentifier for the element.
- escape
Type: System.Boolean
true to escape the returned name.
- fullName
Type: System.Boolean
true to return the full element name.
- numberOfPartsToSkip
Type: System.Int32
An int that indicates the number of name parts from the front to skip.
Return Value
Type: System.String
The name of the specified element.
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.