AdoDotNetObjectMemberComparer.RequiresQuoting 方法
表示組件識別是否需要引號。
命名空間: Microsoft.VisualStudio.Data.Framework.AdoDotNet
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Protected Overridable Function RequiresQuoting ( _
identifierPart As String _
) As Boolean
protected virtual bool RequiresQuoting(
string identifierPart
)
protected:
virtual bool RequiresQuoting(
String^ identifierPart
)
abstract RequiresQuoting :
identifierPart:string -> bool
override RequiresQuoting :
identifierPart:string -> bool
protected function RequiresQuoting(
identifierPart : String
) : boolean
參數
- identifierPart
型別:System.String
表示資料庫物件識別項的部分字串。
傳回值
型別:System.Boolean
true ,如果識別項組件需要引號,否則, false。
備註
預設實作會傳回 false。提供自訂實作來覆寫。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。