HtmlDocument.GetFilteredHtmlTags Method
Parses HtmlDocument and returns an iterator with all the HTML tags found that match the tags that are contained in the tagFilter array.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Function GetFilteredHtmlTags ( _
ParamArray tagFilter As String() _
) As IEnumerable(Of HtmlTag)
public IEnumerable<HtmlTag> GetFilteredHtmlTags(
params string[] tagFilter
)
public:
IEnumerable<HtmlTag^>^ GetFilteredHtmlTags(
... array<String^>^ tagFilter
)
member GetFilteredHtmlTags :
tagFilter:string[] -> IEnumerable<HtmlTag>
public function GetFilteredHtmlTags(
... tagFilter : String[]
) : IEnumerable<HtmlTag>
Parameters
- tagFilter
Type: array<System.String[]
An array that contains HTML tags to be used as a filter for the HtmlDocument.
Return Value
Type: System.Collections.Generic.IEnumerable<HtmlTag>
A IEnumerable<T> object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.