共用方式為


IVsGlobals2 Interface

Loads and saves values global to the solution. Replaces IVsGlobals that cannot be used in managed code.

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("AC735863-23EF-46ED-A3EC-87B58B3DF5DA")> _
Public Interface IVsGlobals2
'用途
Dim instance As IVsGlobals2
[InterfaceTypeAttribute()]
[GuidAttribute("AC735863-23EF-46ED-A3EC-87B58B3DF5DA")]
public interface IVsGlobals2
[InterfaceTypeAttribute()]
[GuidAttribute(L"AC735863-23EF-46ED-A3EC-87B58B3DF5DA")]
public interface class IVsGlobals2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("AC735863-23EF-46ED-A3EC-87B58B3DF5DA")>]
type IVsGlobals2 =  interface end
public interface IVsGlobals2

See Also

Reference

IVsGlobals2 Members

Microsoft.VisualStudio.Shell.Interop Namespace