Share via


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

See Also

Reference

HtmlDocument Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace