CodeModel2::Synchronize Method ()

 

Ensures that all current code model events have been raised and the model has finished being generated.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

void Synchronize()

The order of these events is not guaranteed and handlers may receive the events after Synchronize has returned.

When called from the CodeModel2 object, the code model for the entire project should be synchronized.

System_CAPS_noteNote

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same.

Return to top
Show: