ProjectCollection.ProjectCollectionChanged 事件

定义

当该实例上的状态更改时引发。Raised when state is changed on this instance.

public:
 event EventHandler<Microsoft::Build::Evaluation::ProjectCollectionChangedEventArgs ^> ^ ProjectCollectionChanged;
public event EventHandler<Microsoft.Build.Evaluation.ProjectCollectionChangedEventArgs> ProjectCollectionChanged;
member this.ProjectCollectionChanged : EventHandler<Microsoft.Build.Evaluation.ProjectCollectionChangedEventArgs> 
Public Event ProjectCollectionChanged As EventHandler(Of ProjectCollectionChangedEventArgs) 

注解

对于单个项目中的更改,不会引发此事件。This event is NOT raised for changes in individual projects.

适用于