共用方式為


ProjectUsingTaskBodyElement.Evaluate Property

Gets the value of the Evaluate attribute.

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.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Property Evaluate As String
public string Evaluate { get; set; }
public:
property String^ Evaluate {
    String^ get ();
    void set (String^ value);
}
member Evaluate : string with get, set
function get Evaluate () : String 
function set Evaluate (value : String)

Property Value

Type: System.String
Returns the value of the Evaluate attribute, which is either "true" or "false". Returns "true" if the attribute is not present.

Remarks

If "true", expands the item and property values in the inline task body.

.NET Framework Security

See Also

Reference

ProjectUsingTaskBodyElement Class

Microsoft.Build.Construction Namespace