Поделиться через


IVsShell Interface

Provides access to the fundamental environment services, specifically those dealing with VSPackages and the registry.

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

Syntax

'Декларация
<GuidAttribute("FD9DC8E3-2FFC-446D-8C50-99CA4A3D2D1C")> _
<InterfaceTypeAttribute()> _
Public Interface IVsShell
'Применение
Dim instance As IVsShell
[GuidAttribute("FD9DC8E3-2FFC-446D-8C50-99CA4A3D2D1C")]
[InterfaceTypeAttribute()]
public interface IVsShell
[GuidAttribute(L"FD9DC8E3-2FFC-446D-8C50-99CA4A3D2D1C")]
[InterfaceTypeAttribute()]
public interface class IVsShell
[<GuidAttribute("FD9DC8E3-2FFC-446D-8C50-99CA4A3D2D1C")>]
[<InterfaceTypeAttribute()>]
type IVsShell =  interface end
public interface IVsShell

Remarks

Direct manipulation of other VSPackages is discouraged. The recommended procedure is for the VSPackage to proffer services, using the SProfferService service, which are then consumed by other VSPackages sharing the environment.

Notes to Callers

Call IVsShell in conjunction with the environment service, SVsShell, when needing to implement VSPackages, projects, editors, and other entities that require access to local registry information or directly manipulate other VSPackages.

See Also

Reference

IVsShell Members

Microsoft.VisualStudio.Shell.Interop Namespace