Share via


IVsGlobalsCallback2 Interface

Performs the save and load operations for the IVsGlobals2 interface.

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

Syntax

'Declaration
<GuidAttribute("5447CE90-561E-4C8E-BE70-9FD5F89BCFA7")> _
<InterfaceTypeAttribute()> _
Public Interface IVsGlobalsCallback2
[GuidAttribute("5447CE90-561E-4C8E-BE70-9FD5F89BCFA7")]
[InterfaceTypeAttribute()]
public interface IVsGlobalsCallback2
[GuidAttribute(L"5447CE90-561E-4C8E-BE70-9FD5F89BCFA7")]
[InterfaceTypeAttribute()]
public interface class IVsGlobalsCallback2
[<GuidAttribute("5447CE90-561E-4C8E-BE70-9FD5F89BCFA7")>]
[<InterfaceTypeAttribute()>]
type IVsGlobalsCallback2 =  interface end
public interface IVsGlobalsCallback2

The IVsGlobalsCallback2 type exposes the following members.

Methods

  Name Description
Public method CanModifySource Indicates whether or not you can change the source file corresponding to the globals.
Public method ClearVariables Removes all globals.
Public method GetParent Gets the parent of the object implementing IVsGlobalsCallBack2.
Public method ReadData Takes names and values from an object and stores them as globals.
Public method VariableChanged Provides notification of changes to global solution variables.
Public method WriteVariablesToData Writes the name and value of a solution global. How and where the method writes the name and value pair is implementation dependent.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace