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
'Usage
Dim instance As ValidationRuleRequiredTag 
Dim value As Integer 

value = instance.MinOccurrences

instance.MinOccurrences = value
public int MinOccurrences { get; set; }
public:
property int MinOccurrences {
    int get ();
    void set (int value);
}
public function get MinOccurrences () : int 
public 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

ValidationRuleRequiredTag Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace