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.

HtmlTag::AddAttribute Method (HtmlAttribute^)

 

Adds an attribute to the HtmlTag collection.

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

public:
void AddAttribute(
	HtmlAttribute^ attribute
)

Parameters

attribute
Type: Microsoft.VisualStudio.TestTools.WebTesting::HtmlAttribute^

The HtmlAttribute to add to the collection.

The collection to which the attribute is added is accessible by using the Attributes property.

Return to top
Show: