次の方法で共有


IVsUIShell Interface

This interface provides access to basic windowing functionality, including access to and creation of tool windows and document windows. Provides access to basic windowing functionality, including access to and creation of tool windows and document windows, provided by the environment.

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

Syntax

'宣言
<GuidAttribute("B61FC35B-EEBF-4DEC-BFF1-28A2DD43C38F")> _
<InterfaceTypeAttribute()> _
Public Interface IVsUIShell
'使用
Dim instance As IVsUIShell
[GuidAttribute("B61FC35B-EEBF-4DEC-BFF1-28A2DD43C38F")]
[InterfaceTypeAttribute()]
public interface IVsUIShell
[GuidAttribute(L"B61FC35B-EEBF-4DEC-BFF1-28A2DD43C38F")]
[InterfaceTypeAttribute()]
public interface class IVsUIShell
public interface IVsUIShell

Remarks

Use the service SVsUIShell to call this functionality on the environment.

See illustrations of the implementation and/or calling of this interface in the samples Basic Edit Sample, Basic Project, Figures Language Service, Options Package, Figures Project, Figures Edit, Solution Extender, and Single-Instance Tool Window.

Notes to Implementers:

Implemented by the environment.

Notes to Callers:

Call IVsUIShell (through the SVsUIShell service) at any time that VSPackages, projects or editors need to create or enumerate tool or document windows.

See Also

Reference

IVsUIShell Members

Microsoft.VisualStudio.Shell.Interop Namespace