Share via


ValidationRuleRequiredTag.RequiredTagName Property

Gets or sets the name of the HTML tag that 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 RequiredTagName As String
public string RequiredTagName { get; set; }
public:
property String^ RequiredTagName {
    String^ get ();
    void set (String^ value);
}
member RequiredTagName : string with get, set
function get RequiredTagName () : String 
function set RequiredTagName (value : String)

Property Value

Type: String
The name of the HTML tag that must exist in the HTML document.

.NET Framework Security

See Also

Reference

ValidationRuleRequiredTag Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace