共用方式為


IVsUIShell2 Interface

Extends the functionality of the IVsUIShell interface by providing access to additional window functionalities.

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

Syntax

'宣告
<GuidAttribute("4E6B6EF9-8E3D-4756-99E9-1192BAAD5496")> _
<InterfaceTypeAttribute()> _
Public Interface IVsUIShell2
'用途
Dim instance As IVsUIShell2
[GuidAttribute("4E6B6EF9-8E3D-4756-99E9-1192BAAD5496")]
[InterfaceTypeAttribute()]
public interface IVsUIShell2
[GuidAttribute(L"4E6B6EF9-8E3D-4756-99E9-1192BAAD5496")]
[InterfaceTypeAttribute()]
public interface class IVsUIShell2
[<GuidAttribute("4E6B6EF9-8E3D-4756-99E9-1192BAAD5496")>]
[<InterfaceTypeAttribute()>]
type IVsUIShell2 =  interface end
public interface IVsUIShell2

Remarks

This interface provides methods for:

  • Creating buttons that combine images and text.

  • Creating gradients for filling window backgrounds.

  • Obtain system color values.

  • Extended browsing for folders.

  • Extended browsing to open or save files.

  • Handling custom dialog boxes.

Notes to Implementers

Implemented by the environment.

Notes to Callers

Obtain the IVsUIShell2 interface by calling the QueryInterface method in the IVsUIShell interface which in turn is obtained from the SVsUIShell service.

See Also

Reference

IVsUIShell2 Members

Microsoft.VisualStudio.Shell.Interop Namespace