指示已映射对象选择器是否可以映射泛型类型T和给定类型表示的相关的对象类型名称更改为一个基础类型。
命名空间: Microsoft.VisualStudio.Data.Services
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Function SupportsType(Of T As IVsDataMappedObject) ( _
specificTypeName As String _
) As Boolean
bool SupportsType<T>(
string specificTypeName
)
where T : IVsDataMappedObject
generic<typename T>
where T : IVsDataMappedObject
bool SupportsType(
String^ specificTypeName
)
abstract SupportsType :
specificTypeName:string -> bool when 'T : IVsDataMappedObject
JScript 不支持泛型类型或方法。
类型参数
- T
参数的类型。
参数
- specificTypeName
类型:System.String
相关对象的特定类型检查的名称。
返回值
类型:System.Boolean
true ,如果类型支持;否则,false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。