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

value = instance.RequiredTagName

instance.RequiredTagName = value
public string RequiredTagName { get; set; }
public:
property String^ RequiredTagName {
    String^ get ();
    void set (String^ value);
}
public function get RequiredTagName () : String 
public function set RequiredTagName (value : String)

Property Value

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

.NET Framework Security

See Also

Reference

ValidationRuleRequiredTag Class

ValidationRuleRequiredTag Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace