共用方式為


ProjectProperty.Xml Property

Gets the associated property element. Backing XML property. Null only if this is a global, environment, or built-in property.

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 MustOverride ReadOnly Property Xml As ProjectPropertyElement
public abstract ProjectPropertyElement Xml { get; }
public:
virtual property ProjectPropertyElement^ Xml {
    ProjectPropertyElement^ get () abstract;
}
abstract Xml : ProjectPropertyElement with get
abstract function get Xml () : ProjectPropertyElement

Property Value

Type: Microsoft.Build.Construction.ProjectPropertyElement
Returns the associated property element. Return null if this is a global or reserved property, or originates from an environment variable.

.NET Framework Security

See Also

Reference

ProjectProperty Class

Microsoft.Build.Evaluation Namespace