AdoDotNetObjectMemberComparer.RequiresQuoting Method
Indicates whether an identifier part requires quotation marks.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
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
Parameters
identifierPart
Type: System.StringA string representing a portion of the identifier of a database object.
Return Value
Type: System.Boolean
true if the identifier part requires quotation marks; otherwise, false.
Remarks
The default implementation returns false. Override to provide a custom implementation.
.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.