共用方式為


ProjectCollection.ProjectAddedEventHandler Delegate

Handler to recieve which project got added to the project collection.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Evaluation
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Delegate Sub ProjectAddedEventHandler ( _
    sender As Object, _
    e As ProjectCollection.ProjectAddedToProjectCollectionEventArgs _
)
public delegate void ProjectAddedEventHandler(
    Object sender,
    ProjectCollection.ProjectAddedToProjectCollectionEventArgs e
)
public delegate void ProjectAddedEventHandler(
    Object^ sender, 
    ProjectCollection::ProjectAddedToProjectCollectionEventArgs^ e
)
type ProjectAddedEventHandler = 
    delegate of  
        sender:Object * 
        e:ProjectCollection.ProjectAddedToProjectCollectionEventArgs -> unit
JScript does not support delegates.

Parameters

See Also

Reference

Microsoft.Build.Evaluation Namespace