Share via


ExtensionManager.IsExtension<TInterfaceType> Method (ExtensionHandle)

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

Return Value

Type: System.Boolean
true if the extensionHandle is valid and loaded into the current ExtensionManager; otherwise, false.

.NET Framework Security

See Also

Reference

ExtensionManager Class

IsExtension Overload

Microsoft.Data.Schema.Extensibility Namespace

IExtension

ExtensionHandle<TInterfaceType>