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 セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

AdoDotNetObjectMemberComparer クラス

Microsoft.VisualStudio.Data.Framework.AdoDotNet 名前空間