ExtensionPointPackage.CreateCodeContainerProvider(Guid) Method

Definition

Creates a code container provider for the given registered provider Guid.This is called by the base class in response to a request for the ICodeContainer extension point. The base implementation searches for ProvideCodeContainerProviderAttribute attributes on the package class and instantiates the appropriate provider. May be overridden.

protected:
 virtual Microsoft::VisualStudio::Shell::CodeContainerManagement::ICodeContainerProvider ^ CreateCodeContainerProvider(Guid provider);
protected virtual Microsoft.VisualStudio.Shell.CodeContainerManagement.ICodeContainerProvider CreateCodeContainerProvider (Guid provider);
abstract member CreateCodeContainerProvider : Guid -> Microsoft.VisualStudio.Shell.CodeContainerManagement.ICodeContainerProvider
override this.CreateCodeContainerProvider : Guid -> Microsoft.VisualStudio.Shell.CodeContainerManagement.ICodeContainerProvider
Protected Overridable Function CreateCodeContainerProvider (provider As Guid) As ICodeContainerProvider

Parameters

provider
Guid

The guid of the requested code container provider

Returns

The requested code container provider

Exceptions

The requested provider does not implement the ICodeContainer interface

Applies to