共用方式為


ProjectCollection.ProjectAddedToProjectCollectionEventArgs Class

 Provides information about what project just got added to the ProjectCollection 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.

Inheritance Hierarchy

System.Object
  EventArgs
    Microsoft.Build.Evaluation.ProjectCollection.ProjectAddedToProjectCollectionEventArgs

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

Syntax

'Declaration
Public Class ProjectAddedToProjectCollectionEventArgs _
    Inherits EventArgs
public class ProjectAddedToProjectCollectionEventArgs : EventArgs
public ref class ProjectAddedToProjectCollectionEventArgs : public EventArgs
type ProjectAddedToProjectCollectionEventArgs =  
    class 
        inherit EventArgs 
    end
public class ProjectAddedToProjectCollectionEventArgs extends EventArgs

The ProjectCollection.ProjectAddedToProjectCollectionEventArgs type exposes the following members.

Constructors

  Name Description
Public method ProjectCollection.ProjectAddedToProjectCollectionEventArgs The root element which was 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.

Top

Properties

  Name Description
Public property ProjectRootElement Root element which was 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.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.Evaluation Namespace