Sdílet prostřednictvím


Project.ConditionedProperties Property

Definition

Collection of possible values implied for properties contained in the conditions found on properties, property groups, imports, and whens.

For example, if the following conditions existed on properties in a project:

Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'" Condition="'$(Configuration)' == 'Release'"

the table would be populated with

{ "Configuration", { "Debug", "Release" }} { "Platform", { "x86" }}

This is used by Visual Studio to determine the configurations defined in the project.

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::Collections::Generic::List<System::String ^> ^> ^ ConditionedProperties { System::Collections::Generic::IDictionary<System::String ^, System::Collections::Generic::List<System::String ^> ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,System.Collections.Generic.List<string>> ConditionedProperties { get; }
member this.ConditionedProperties : System.Collections.Generic.IDictionary<string, System.Collections.Generic.List<string>>
Public ReadOnly Property ConditionedProperties As IDictionary(Of String, List(Of String))

Property Value

A collection of possible property values for properties used to evaluate conditions found on properties, property groups, imports, and whens. The collection is in canonical form. The name of the entry is the name of the property to be evaluated, and the value is a list of possible property values.

Remarks

For example, if the following conditions existed on properties in a project: Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'" Condition="'$(Configuration)' == 'Release'" the table would be populated with { "Configuration", { "Debug", "Release" }} { "Platform", { "x86" }} This collection is used by Visual Studio to determine the configurations defined in the project

Applies to