UserInteractionServices.GetNameString 方法
傳回名稱,並在要求時逸出字串。
命名空間: Microsoft.Data.Schema
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
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
參數
- name
型別:System.String
要傳回的 string。
- escape
型別:System.Boolean
true 表示逸出 name。
傳回值
型別:System.String
提供的名稱。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。