IVsDataMappedObjectSelector.SupportsType<T> 方法

指示已映射对象选择器是否可以映射泛型类型表示的相关的对象类型T到一个基础类型。

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

语法

声明
Function SupportsType(Of T As IVsDataMappedObject) As Boolean
bool SupportsType<T>()
where T : IVsDataMappedObject
generic<typename T>
where T : IVsDataMappedObject
bool SupportsType()
abstract SupportsType : unit -> bool  when 'T : IVsDataMappedObject
JScript 不支持泛型类型或方法。

类型参数

  • T
    参数的类型。

返回值

类型:System.Boolean
true ,如果类型支持;否则,false。

备注

如果具有的一个对应的已映射的类型项。数据对象支持模型,类型支持。

.NET Framework 安全性

请参见

参考

IVsDataMappedObjectSelector 接口

SupportsType 重载

Microsoft.VisualStudio.Data.Services 命名空间