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

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("AC735863-23EF-46ED-A3EC-87B58B3DF5DA")> _
Public Interface 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

The IVsGlobals2 type exposes the following members.

Methods

  Name Description
Public method Empty Clears all global solution values.
Public method Load Loads global solution values. Triggers a call to the ReadData method of the IVsGlobalsCallback interface.
Public method Save Saves global solution values. Triggers a call to the WriteVariablesToData method of the IVsGlobalsCallback interface.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace