共用方式為


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

Syntax

'Declaration
Public MustOverride Property UnevaluatedValue As String
public abstract string UnevaluatedValue { get; set; }
public:
virtual property String^ UnevaluatedValue {
    String^ get () abstract;
    void set (String^ value) abstract;
}
abstract UnevaluatedValue : string with get, set
abstract function get UnevaluatedValue () : String 
abstract function set UnevaluatedValue (value : String)

Property Value

Type: System.String
Returns the unevaluated property value.

Remarks

The setter method updates both the unevaluated value and the evaluated value, but does not affect anything else in the project until reevaluation.

The containing project is marked as modified. Unevaluated values are assumed to contain escaped character sequences as needed.

.NET Framework Security

See Also

Reference

ProjectProperty Class

Microsoft.Build.Evaluation Namespace