Dela via


HtmlTagInnerTextParser Class

A specialized parser that is used to extract the inner text from HTML tags that are located in an HTML document.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.HtmlTagInnerTextParser

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

Syntax

'Declaration
Public Class HtmlTagInnerTextParser
public class HtmlTagInnerTextParser
public ref class HtmlTagInnerTextParser
type HtmlTagInnerTextParser =  class end
public class HtmlTagInnerTextParser

The HtmlTagInnerTextParser type exposes the following members.

Constructors

  Name Description
Public method HtmlTagInnerTextParser Initializes a new instance of the HtmlTagInnerTextParser class by using the specified HTML document text.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetInnerTextForHtmlTags(String, Boolean, Boolean, Boolean) Returns an enumerable list of all the inner text that matches the specified parameters.
Public method GetInnerTextForHtmlTags(String, Boolean, Boolean, Boolean, Int32, Int32) Returns an enumerable list of all the inner text that matches the specified parameters.
Public method GetInnerTextForHtmlTags(String, String, String, Boolean, Boolean, Boolean) Returns an enumerable list of all the inner text that matches the specified parameters.
Public method GetInnerTextForHtmlTags(String, String, String, Boolean, Boolean, Boolean, Int32, Int32) Returns an enumerable list of all the inner text that matches the specified parameters.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.WebTesting Namespace