取得或設定引數的條件。
命名空間: Microsoft.Data.Schema.Build
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Property Condition As String
Get
Set
public string Condition { get; set; }
public:
property String^ Condition {
String^ get ();
void set (String^ value);
}
member Condition : string with get, set
function get Condition () : String
function set Condition (value : String)
屬性值
型別:System.String
引數的評估條件 (即 "'stringA' == 'stringB'")。
備註
便於與 MSBuild 相容。 如條件值的詳細資訊,請在 MSDN 上搜尋「MSBuild 條件」。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。