0 out of 1 rated this helpful - Rate this topic

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 class 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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.