Partager via


HtmlTagInnerText, constructeur (String, Int32, Int32, Boolean, Boolean)

Initialise une nouvelle instance de la classe HtmlTagInnerText à l'aide des valeurs spécifiées.

Espace de noms :  Microsoft.VisualStudio.TestTools.WebTesting
Assembly :  Microsoft.VisualStudio.QualityTools.WebTestFramework (dans Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • documentContent
    Type : String

    Contenu du document.

  • beginOffset
    Type : Int32

    Offset de début du texte interne dans le document.

  • endOffset
    Type : Int32

    Offset de fin du texte interne dans le document.

  • removeInnerTags
    Type : Boolean

    true pour supprimer les balises HTML internes ; sinon, false.

  • collapseWhiteSpace
    Type : Boolean

    true pour réduire l'espace blanc dans le texte interne ; sinon, false.

Sécurité .NET Framework

Voir aussi

Référence

HtmlTagInnerText Classe

HtmlTagInnerText, surcharge

Microsoft.VisualStudio.TestTools.WebTesting, espace de noms