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

声明
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.String
    A 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

See Also

Reference

AdoDotNetObjectMemberComparer Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace