Share via


ValidationRuleRequiredTag.MinOccurrences Property

Gets or sets the minimum number of times the HTML tag must exist in the HTML document for the validation rule to succeed.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property MinOccurrences As Integer
public int MinOccurrences { get; set; }
public:
property int MinOccurrences {
    int get ();
    void set (int value);
}
member MinOccurrences : int with get, set
function get MinOccurrences () : int
function set MinOccurrences (value : int)

Property Value

Type: System.Int32
The minimum number of times the HTML tag must exist in the HTML document.

.NET Framework Security

See Also

Reference

ValidationRuleRequiredTag Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace