共用方式為


IVsGlobalsCallback2.VariableChanged Method

Definition

Provides notification of changes to global solution variables.

public:
 int VariableChanged();
public:
 int VariableChanged();
int VariableChanged();
public int VariableChanged ();
abstract member VariableChanged : unit -> int
Public Function VariableChanged () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Call this method whenever you modify the value of a global solution variable.

Applies to