共用方式為


ContributorArgumentConfiguration.Condition 屬性

取得或設定引數的條件。

命名空間:  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 安全性

請參閱

參考

ContributorArgumentConfiguration 類別

Microsoft.Data.Schema.Build 命名空間