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::GetAttributeValueAsString Method (String^)

 

Gets the value of a specified attribute in string format.

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

public:
String^ GetAttributeValueAsString(
	String^ attributeName
)

Parameters

attributeName
Type: System::String^

The name of the attribute. Used as the key to look up the attribute value.

Return Value

Type: System::String^

An attribute value in a string format.

If the attribute name does not exist, this method returns null.

Return to top
Show: