共用方式為


IVsShell2 Interface

Supplies shell services in addition to the IVsShell interface.

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("F3519E2D-D5D2-4455-B9F4-5F61F993BD66")> _
Public Interface IVsShell2
'用途
Dim instance As IVsShell2
[InterfaceTypeAttribute()]
[GuidAttribute("F3519E2D-D5D2-4455-B9F4-5F61F993BD66")]
public interface IVsShell2
[InterfaceTypeAttribute()]
[GuidAttribute(L"F3519E2D-D5D2-4455-B9F4-5F61F993BD66")]
public interface class IVsShell2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("F3519E2D-D5D2-4455-B9F4-5F61F993BD66")>]
type IVsShell2 =  interface end
public interface IVsShell2

Remarks

IVsShell2 offers additional shell services to address localization.

Notes to Callers

Call IVsShell in conjunction with the environment service, SVsShell, to implement VSPackages, projects, editors, and other entities that require access to local registry information. You call IVsShell2 to directly manipulate other VSPackages. IVsShell2 lets you access the LoadPackageStringWithLCID method.

See Also

Reference

IVsShell2 Members

Microsoft.VisualStudio.Shell.Interop Namespace