HtmlDocument.SetParserOffsetTracking Method
Sets the parser mode for tracking tag and attribute value offsets.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub SetParserOffsetTracking ( _
flag As Boolean _
)
public void SetParserOffsetTracking(
bool flag
)
public:
void SetParserOffsetTracking(
bool flag
)
member SetParserOffsetTracking :
flag:bool -> unit
public function SetParserOffsetTracking(
flag : boolean
)
Parameters
- flag
Type: System.Boolean
true for tracking tag and attribute value offsets; 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.