Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IServiceProvider Interface

Provides access to a service identified by a globally unique identifier (GUID). For more information, see IServiceProvider.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

[GuidAttribute("6D5140C1-7436-11CE-8034-00AA006009FA")]
[InterfaceTypeAttribute()]
public interface IServiceProvider

The IServiceProvider type exposes the following members.

  NameDescription
Public methodQueryService
Top

  NameDescription
Public Extension MethodQueryService(Guid)Overloaded. Gets a service exposed by a service provider based on its service type. (Defined by PackageUtilities.)
Public Extension MethodQueryService<TService>()Overloaded. Gets a service exposed by a service provider based on its service type. (Defined by PackageUtilities.)
Top
Show:
© 2015 Microsoft