共用方式為


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

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

Remarks

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

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