Share via


HtmlTagInnerText Constructor (String, Int32, Int32, Boolean, Boolean)

Initializes a new instance of the HtmlTagInnerText class by using the specified values.

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

Syntax

'Declaration
Public Sub New ( _
    documentContent As String, _
    beginOffset As Integer, _
    endOffset As Integer, _
    removeInnerTags As Boolean, _
    collapseWhiteSpace As Boolean _
)
public HtmlTagInnerText(
    string documentContent,
    int beginOffset,
    int endOffset,
    bool removeInnerTags,
    bool collapseWhiteSpace
)
public:
HtmlTagInnerText(
    String^ documentContent, 
    int beginOffset, 
    int endOffset, 
    bool removeInnerTags, 
    bool collapseWhiteSpace
)
new : 
        documentContent:string * 
        beginOffset:int * 
        endOffset:int * 
        removeInnerTags:bool * 
        collapseWhiteSpace:bool -> HtmlTagInnerText
public function HtmlTagInnerText(
    documentContent : String, 
    beginOffset : int, 
    endOffset : int, 
    removeInnerTags : boolean, 
    collapseWhiteSpace : boolean
)

Parameters

  • beginOffset
    Type: System.Int32
    The beginning offset of the inner text in the document.
  • endOffset
    Type: System.Int32
    The ending offset of the inner text in the document.
  • removeInnerTags
    Type: System.Boolean
    true to remove the inner HTML tags; otherwise, false.
  • collapseWhiteSpace
    Type: System.Boolean
    true to collapse whitevspace in the inner text; otherwise, false.

.NET Framework Security

See Also

Reference

HtmlTagInnerText Class

HtmlTagInnerText Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace