共用方式為


CreateProperty.Value Property

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

Gets or sets the value to copy to the new 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 Property Value As String()
[OutputAttribute]
public string[] Value { get; set; }
[OutputAttribute]
public:
property array<String^>^ Value {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
[<OutputAttribute>]
member Value : string[] with get, set
function get Value () : String[]
function set Value (value : String[])

Property Value

Type: array<System.String[]
The value to copy to the new property

.NET Framework Security

See Also

Reference

CreateProperty Class

Microsoft.Build.Tasks Namespace