UserInteractionServices.GetNameString Method
Returns the name and escapes the string, if requested.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Function GetNameString ( _
name As String, _
escape As Boolean _
) As String
protected string GetNameString(
string name,
bool escape
)
protected:
String^ GetNameString(
String^ name,
bool escape
)
member GetNameString :
name:string *
escape:bool -> string
protected function GetNameString(
name : String,
escape : boolean
) : String
Parameters
- name
Type: System.String
The string to return.
- escape
Type: System.Boolean
true to escape the name.
Return Value
Type: System.String
The provided name.
.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.