Condividi tramite


Costruttore HtmlTagInnerText (String, Int32, Int32, Boolean, Boolean)

Inizializza una nuova istanza di HtmlTagInnerText classe utilizzando i valori specificati.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintassi

'Dichiarazione
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
)

Parametri

  • documentContent
    Tipo: System.String
    Il contenuto del documento.
  • beginOffset
    Tipo: System.Int32
    L'offset iniziale del testo interno nel documento.
  • endOffset
    Tipo: System.Int32
    L'offset finale del testo interno nel documento.
  • removeInnerTags
    Tipo: System.Boolean
    true per rimuovere i tag HTML interno, in caso contrario, false.
  • collapseWhiteSpace
    Tipo: System.Boolean
    true per comprimere whitevspace nel testo interno; in caso contrario, false.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

HtmlTagInnerText Classe

Overload HtmlTagInnerText

Spazio dei nomi Microsoft.VisualStudio.TestTools.WebTesting