共用方式為


ProjectXmlChangedEventArgs.ProjectXml Property

Gets the project root element which was just changed..

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 Property ProjectXml As ProjectRootElement
public ProjectRootElement ProjectXml { get; private set; }
public:
property ProjectRootElement^ ProjectXml {
    ProjectRootElement^ get ();
    private: void set (ProjectRootElement^ value);
}
member ProjectXml : ProjectRootElement with get, private set
function get ProjectXml () : ProjectRootElement 
private function set ProjectXml (value : ProjectRootElement)

Property Value

Type: Microsoft.Build.Construction.ProjectRootElement
Never null.

.NET Framework Security

See Also

Reference

ProjectXmlChangedEventArgs Class

Microsoft.Build.Evaluation Namespace