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.
HtmlTagInnerTextParser::GetInnerTextForHtmlTags Method (String^, Boolean, Boolean, Boolean)
Returns an enumerable list of all the inner text that matches the specified parameters.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
public: IEnumerable<HtmlTagInnerText^>^ GetInnerTextForHtmlTags( String^ tagName, bool hasClosingTag, bool removeInnerTags, bool collapseWhiteSpace )
Parameters
- tagName
-
Type:
System::String^
The name of the tag to search for.
- hasClosingTag
-
Type:
System::Boolean
Specifies whether this tag has a closing tag.
- removeInnerTags
-
Type:
System::Boolean
true to filter out HTML tags from the inner text; otherwise, false.
- collapseWhiteSpace
-
Type:
System::Boolean
true to collapse the extra white space in the HTML document; otherwise, false.
Return Value
Type: System.Collections.Generic::IEnumerable<HtmlTagInnerText^>^An enumerable list of the inner text of the matching tags.
Show: