UserInteractionServices.GetDisplayName Method (ModelIdentifier, Boolean, Boolean)
Returns a display name for an identifier that specifies whether to use an escape character on the name, and whether to provide the full name or a short version.
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 _
) As String
public virtual string GetDisplayName(
ModelIdentifier identifier,
bool escape,
bool fullName
)
public:
virtual String^ GetDisplayName(
ModelIdentifier^ identifier,
bool escape,
bool fullName
)
abstract GetDisplayName :
identifier:ModelIdentifier *
escape:bool *
fullName:bool -> string
override GetDisplayName :
identifier:ModelIdentifier *
escape:bool *
fullName:bool -> string
public function GetDisplayName(
identifier : ModelIdentifier,
escape : boolean,
fullName : boolean
) : 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.
Return Value
Type: System.String
The name of the specified element.
.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.