IVsDataViewHierarchy.GetProviderImplementation<T> 方法
建立泛型型別 T 的實作會從指定的型別。
命名空間: Microsoft.VisualStudio.Data.Services.SupportEntities
組件: Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)
語法
'宣告
Function GetProviderImplementation(Of T As Class) ( _
implementationType As Type _
) As Object
Object GetProviderImplementation<T>(
Type implementationType
)
where T : class
generic<typename T>
where T : ref class
Object^ GetProviderImplementation(
Type^ implementationType
)
abstract GetProviderImplementation :
implementationType:Type -> Object when 'T : not struct
JScript 不支援泛型型別或方法。
類型參數
- T
參數的型別。
參數
implementationType
類型:Type特定實作類型。
傳回值
類型:Object
提供者實作型別或 nullnull 參考 (即 Visual Basic 中的 Nothing) ;如果找不到任何實作類型。
備註
如果實作型別為 nullnull 參考 (即 Visual Basic 中的 Nothing),這個方法就會搜尋全域可用實作輸入。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。