共用方式為


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

'宣告
<GuidAttribute("6D5140C1-7436-11CE-8034-00AA006009FA")> _
<InterfaceTypeAttribute()> _
Public Interface IServiceProvider
[GuidAttribute("6D5140C1-7436-11CE-8034-00AA006009FA")]
[InterfaceTypeAttribute()]
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