Creates an implementation of the generic type T from the specified type.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Function GetProviderImplementation(Of T As Class) ( _
implementationType As Type _
) As Object
'使用
Dim instance As IVsDataViewHierarchy
Dim implementationType As Type
Dim returnValue As Object
returnValue = instance.GetProviderImplementation(implementationType)
Object GetProviderImplementation<T>(
Type implementationType
) where T : class
generic<typename T>
where T : ref class
Object^ GetProviderImplementation(
Type^ implementationType
)
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
implementationType
Type: System.TypeA specific implementation type.
Return Value
Type: System.Object
The provider implementation type, or a null reference (Nothing in Visual Basic) if no implementation type is found.
Remarks
If the implementation type is a null reference (Nothing in Visual Basic), this method searches for a globally available implementation type.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataViewHierarchy Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace