共用方式為


IVsGlobalsCallback2 Interface

Definition

Performs the save and load operations for the IVsGlobals2 interface.

public interface class IVsGlobalsCallback2
public interface class IVsGlobalsCallback2
__interface IVsGlobalsCallback2
[System.Runtime.InteropServices.Guid("5447CE90-561E-4C8E-BE70-9FD5F89BCFA7")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsGlobalsCallback2
[<System.Runtime.InteropServices.Guid("5447CE90-561E-4C8E-BE70-9FD5F89BCFA7")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsGlobalsCallback2 = interface
Public Interface IVsGlobalsCallback2
Attributes

Methods

CanModifySource()

Indicates whether or not you can change the source file corresponding to the globals.

ClearVariables()

Removes all globals.

GetParent(Object)

Gets the parent of the object implementing Microsoft.VisualStudio.Shell.Interop.IVsGlobalsCallBack2.

ReadData(Object)

Takes names and values from an object and stores them as globals.

VariableChanged()

Provides notification of changes to global solution variables.

WriteVariablesToData(String, Object)

Writes the name and value of a solution global. How and where the method writes the name and value pair is implementation dependent.

Applies to