ExtensionManager.IsExtension<TInterfaceType> Method (Type)

Checks whether a valid extension occurs that matches the provided type, and that does not have a configuration in the current instance.

Namespace:  Microsoft.Data.Schema.Extensibility
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Function IsExtension(Of TInterfaceType As {Class, IExtension}) ( _
    type As Type _
) As Boolean
public bool IsExtension<TInterfaceType>(
    Type type
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
bool IsExtension(
    Type^ type
)
member IsExtension : 
        type:Type -> 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

  • type
    Type: System.Type
    A Type that implements the TInterfaceType interface.

Return Value

Type: System.Boolean
true if a valid extension of the passed type occurs that does not have a registered configuration; otherwise, false.

.NET Framework Security

See Also

Reference

ExtensionManager Class

IsExtension Overload

Microsoft.Data.Schema.Extensibility Namespace

IExtension