IVsDataObjectStore.CanSelectObjects 方法

指示指定的类型是否可以从数据对象中选择支持XML流。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Function CanSelectObjects ( _
    typeName As String _
) As Boolean
bool CanSelectObjects(
    string typeName
)
bool CanSelectObjects(
    String^ typeName
)
abstract CanSelectObjects : 
        typeName:string -> bool 
function CanSelectObjects(
    typeName : String
) : boolean

参数

  • typeName
    类型:System.String
    检查的数据源特定类型的名称。

返回值

类型:System.Boolean
true ,如果类型可以选择;否则,false。

异常

异常 条件
ArgumentNullException

typeName 参数为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

IVsDataObjectStore 接口

Microsoft.VisualStudio.Data.Services 命名空间