Export (0) Print
Expand All

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.

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

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.

Show:
© 2014 Microsoft