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 命名空间