共用方式為


ProjectPropertyElement.Value Property

Gets or sets the unevaluated property value.

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 Value As String
public string Value { get; set; }
public:
property String^ Value {
    String^ get ();
    void set (String^ value);
}
member Value : string with get, set
function get Value () : String 
function set Value (value : String)

Property Value

Type: System.String
Returns the unevaluated property value. Returns an empty string if the value is uninitialized.

.NET Framework Security

See Also

Reference

ProjectPropertyElement Class

Microsoft.Build.Construction Namespace