Share via


ValidationRuleRequiredAttributeValue.TagName Property

Gets or sets the HTML tag that contains the attribute to be validated.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property TagName As String
public string TagName { get; set; }
public:
property String^ TagName {
    String^ get ();
    void set (String^ value);
}
member TagName : string with get, set
function get TagName () : String 
function set TagName (value : String)

Property Value

Type: String
The HTML tag that contains the attribute to be validated.

.NET Framework Security

See Also

Reference

ValidationRuleRequiredAttributeValue Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace