Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks whether the provided extension handle is valid and is loaded into the current ExtensionManager.
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function IsExtension(Of TInterfaceType As {Class, IExtension}) ( _
extensionHandle As ExtensionHandle _
) As Boolean
public bool IsExtension<TInterfaceType>(
ExtensionHandle extensionHandle
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
bool IsExtension(
ExtensionHandle^ extensionHandle
)
member IsExtension :
extensionHandle:ExtensionHandle -> bool when 'TInterfaceType : not struct and IExtension
JScript does not support generic types or methods.
Type Parameters
- TInterfaceType
An interface that derives from the IExtension interface.
Parameters
- extensionHandle
Type: Microsoft.Data.Schema.Extensibility.ExtensionHandle
An ExtensionHandle<TInterfaceType> that implements the TInterfaceType interface.
Return Value
Type: System.Boolean
true if the extensionHandle is valid and loaded into the current ExtensionManager; otherwise, false.
.NET Framework Security
- 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.