Share via


HtmlTagWithOffsets Members

Include Protected Members
Include Inherited Members

Extends the basic HtmlTag by tracking the beginning and ending tag offsets within the HTML document.

The HtmlTagWithOffsets type exposes the following members.

Constructors

 

Name

Description

Public method

HtmlTagWithOffsets

Initializes a new instance of the HtmlTagWithOffsets class.

Top

Methods

 

Name

Description

Public method

AddAttribute

Adds an attribute to the HtmlTag collection. (Inherited from HtmlTag.)

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetAttributeValue

Gets the value of a specified attribute. (Inherited from HtmlTag.)

Public method

GetAttributeValueAsString

Gets the value of a specified attribute in string format. (Inherited from HtmlTag.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Attributes

Gets a collection of attributes associated with the HTML tag. (Inherited from HtmlTag.)

Public property

BeginOffset

Gets or set the offset for an open bracket of HtmlTag within a HTML document.

Public property

EndOffset

Gets or set the offset for an HtmlTag close bracket within a HTML document.

Public property

Name

Gets or sets the name of the tag. (Inherited from HtmlTag.)

Top

See Also

Reference

HtmlTagWithOffsets Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace