共用方式為


ProjectProperty.IsEnvironmentProperty Property

Determines whether the property originated from the environment variables.

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 ReadOnly Property IsEnvironmentProperty As Boolean
public abstract bool IsEnvironmentProperty { get; }
public:
virtual property bool IsEnvironmentProperty {
    bool get () abstract;
}
abstract IsEnvironmentProperty : bool with get
abstract function get IsEnvironmentProperty () : boolean

Property Value

Type: System.Boolean
True if the property originated from an environment variable; false otherwise.

.NET Framework Security

See Also

Reference

ProjectProperty Class

Microsoft.Build.Evaluation Namespace