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: Int32
The minimum number of times the HTML tag must exist in the HTML document.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.