SVsServiceProvider Interface

Represents a Visual Studio service provider.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)

public interface SVsServiceProvider : IServiceProvider

The SVsServiceProvider type exposes the following members.

Public methodGetServiceGets the service object of the specified type. (Inherited from IServiceProvider.)

This type is intended for the dynamic discovery of other Visual Studio services from Managed Extensibility Framework (MEF) components.

For an example of how to use this service provider, see Walkthrough: Accessing the DTE Object from an Editor Extension.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft