英語で読む

次の方法で共有


VsServiceProviderWrapper Class

Definition

Caution

Use [Import] SVsServiceProvider instead.

Wraps a service provider instance. The class is intended to be used for exposing a SVsService provider value to a VS MEF composition container.

C++/CX
public ref class VsServiceProviderWrapper sealed : Microsoft::VisualStudio::Shell::SVsServiceProvider
Inheritance
VsServiceProviderWrapper
Attributes
Implements

Remarks

For more information about the Managed Extensibility Framework, see Managed Extensibility Framework (MEF).

Constructors

VsServiceProviderWrapper(IServiceProvider)

Constructs an instance of the class.

Methods

GetService(Type)

Gets the service object of the specified type. Delegates all the work of retirieving the requested service to the wrapped service provider.

Applies to

製品 バージョン (廃止)
Visual Studio SDK 2015 (2017, 2019, 2022)