Export (0) Print
Expand All

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)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("FD9DC8E3-2FFC-446D-8C50-99CA4A3D2D1C")] 
public interface IVsShell
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("FD9DC8E3-2FFC-446D-8C50-99CA4A3D2D1C") */ 
public interface IVsShell
InterfaceTypeAttribute(1) 
GuidAttribute("FD9DC8E3-2FFC-446D-8C50-99CA4A3D2D1C") 
public interface IVsShell

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.

See illustrations of the implementation and/or calling of this interface in the samples Figures Language Service Sample, Figures Edit Sample, Solution Extender Sample, Options Package Sample (C++), Basic Edit Overview, Basic Project Sample, and Figures Project Sample.

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.

Community Additions

ADD
Show:
© 2014 Microsoft