共用方式為


IVsGlobals2 Interface

Definition

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

public interface class IVsGlobals2
public interface class IVsGlobals2
__interface IVsGlobals2
[System.Runtime.InteropServices.Guid("AC735863-23EF-46ED-A3EC-87B58B3DF5DA")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsGlobals2
[<System.Runtime.InteropServices.Guid("AC735863-23EF-46ED-A3EC-87B58B3DF5DA")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsGlobals2 = interface
Public Interface IVsGlobals2
Attributes

Methods

Empty()

Clears all global solution values.

Load()

Loads global solution values. Triggers a call to the ReadData(Globals) method of the IVsGlobalsCallback interface.

Save()

Saves global solution values. Triggers a call to the WriteVariablesToData(String, Object) method of the IVsGlobalsCallback interface.

Applies to