Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
[DefaultValueAttribute(0)]
property int MinOccurrences {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The minimum number of times the HTML tag must exist in the HTML document.

Return to top
Show: