次の方法で共有


IVsUpdateSolutionEvents4.OnActiveProjectCfgChangeBatchBegin Method

Definition

Fired to indicate that several OnActiveProjectCfgChange(IVsHierarchy) events will follow in rapid succession. OnActiveProjectCfgChangeBatchEnd is fired afterwards to indicate the end of batch.

public:
 void OnActiveProjectCfgChangeBatchBegin();
public:
 void OnActiveProjectCfgChangeBatchBegin();
void OnActiveProjectCfgChangeBatchBegin();
public void OnActiveProjectCfgChangeBatchBegin ();
abstract member OnActiveProjectCfgChangeBatchBegin : unit -> unit
Public Sub OnActiveProjectCfgChangeBatchBegin ()

Remarks

Subscribers that handle OnActiveProjectCfgChange and do considerable work in response to it can use this method and OnActiveProjectCfgChangeBatchEnd to detect several consecutive configuration changes, and only do the work once for all of them, rather than recomputing for each separate event.

Applies to