共用方式為


CreateProperty.ValueSetByTask Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Contains the same value as the Value 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.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<OutputAttribute> _
Public ReadOnly Property ValueSetByTask As String()
[OutputAttribute]
public string[] ValueSetByTask { get; }
[OutputAttribute]
public:
property array<String^>^ ValueSetByTask {
    array<String^>^ get ();
}
[<OutputAttribute>]
member ValueSetByTask : string[] with get
function get ValueSetByTask () : String[]

Property Value

Type: array<System.String[]
The same value as the Value property.

Remarks

Use this property only when you want to avoid having the output property set by MSBuild when it skips the enclosing target because the outputs are up-to-date.

.NET Framework Security

See Also

Reference

CreateProperty Class

Microsoft.Build.Tasks Namespace