参数小于零。
命名空间: 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
类型:System.Type
特定实现类型。
返回值
类型:System.Object
提供程序实现类型或 nullnull 引用(在 Visual Basic 中为 Nothing),如果未找到实现类型。
备注
如果实现类型是 nullnull 引用(在 Visual Basic 中为 Nothing),此方法搜索一个全局可用的实现键入。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。