Compartir a través de


DataSource.HasConfigurationCondition Property

Gets or sets a flag that determines whether a property is configuration-dependent, as indicated by the presence of a configuration condition that is attached to the property definition at its persistence location.

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.Framework.XamlTypes
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

'Declaration
Public Property HasConfigurationCondition As Boolean
public bool HasConfigurationCondition { get; set; }
public:
property bool HasConfigurationCondition {
    bool get ();
    void set (bool value);
}
member HasConfigurationCondition : bool with get, set
function get HasConfigurationCondition () : boolean 
function set HasConfigurationCondition (value : boolean)

Property Value

Type: System.Boolean
Returns true if a property is configuration-dependent; otherwise, false.

Remarks

This field is optional and has the default value true.

.NET Framework Security

See Also

Reference

DataSource Class

Microsoft.Build.Framework.XamlTypes Namespace