ExtensionManager.GetExtensions<TInterfaceType> Method

Gets the extension types for the provided extension interface type. This method will return a list of ExtensionHandles that loaded successfully.

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

Syntax

'Declaration
Public Function GetExtensions(Of TInterfaceType As {Class, IExtension}) As ReadOnlyCollection(Of ExtensionHandle(Of TInterfaceType))
'Usage
Dim instance As ExtensionManager 
Dim returnValue As ReadOnlyCollection(Of ExtensionHandle(Of TInterfaceType))

returnValue = instance.GetExtensions()
public ReadOnlyCollection<ExtensionHandle<TInterfaceType>> GetExtensions<TInterfaceType>()
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension 
ReadOnlyCollection<ExtensionHandle<TInterfaceType>^>^ GetExtensions()
JScript does not support generic types or methods.

Type Parameters

  • TInterfaceType

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ExtensionHandle<TInterfaceType>>
[T:System.Collections.ObjectModel.ReadOnlyCollection<ExtensionLoadError>] is a ReadOnlyCollection that contains a list of ExtensionHandles that have successfully loaded.

Remarks

The extensions returned are only those which are set to be compatible with the provider specified in the ExtensionManager using the attribute.

.NET Framework Security

See Also

Reference

ExtensionManager Class

ExtensionManager Members

Microsoft.Data.Schema.Extensibility Namespace