Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
documentContent
Type: StringThe document content.
beginOffset
Type: Int32The beginning offset of the inner text in the document.
endOffset
Type: Int32The ending offset of the inner text in the document.
removeInnerTags
Type: Booleantrue to remove the inner HTML tags; otherwise, false.
collapseWhiteSpace
Type: Booleantrue to collapse whitevspace in the inner text; otherwise, false.
.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.