Compartilhar via


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)

Syntax

'Declaration
<GuidAttribute("6D5140C1-7436-11CE-8034-00AA006009FA")> _
<InterfaceTypeAttribute()> _
Public Interface IServiceProvider
[GuidAttribute("6D5140C1-7436-11CE-8034-00AA006009FA")]
[InterfaceTypeAttribute()]
public interface IServiceProvider
[GuidAttribute(L"6D5140C1-7436-11CE-8034-00AA006009FA")]
[InterfaceTypeAttribute()]
public interface class IServiceProvider
[<GuidAttribute("6D5140C1-7436-11CE-8034-00AA006009FA")>]
[<InterfaceTypeAttribute()>]
type IServiceProvider =  interface end
public interface IServiceProvider

The IServiceProvider type exposes the following members.

Methods

  Name Description
Public method QueryService

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace