共用方式為


ValidationRuleFindText.UseRegularExpression 屬性

取得或設定值,這個值表示 FindText 是否為規則運算式。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

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

屬性值

類型:Boolean
如果搜尋字串是規則運算式則為 true,否則為 false。預設值是 false。

.NET Framework 安全性

請參閱

參考

ValidationRuleFindText 類別

Microsoft.VisualStudio.TestTools.WebTesting.Rules 命名空間