共用方式為


IVsDataMappedObjectSelector.SupportsType<T> 方法 (String)

表示對應的物件選取器是否可以將泛型型別 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 安全性

請參閱

參考

IVsDataMappedObjectSelector 介面

SupportsType 多載

Microsoft.VisualStudio.Data.Services 命名空間