HtmlTagWithOffsets Class
Extends the basic HtmlTag by tracking the beginning and ending tag offsets within the HTML document.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.WebTesting.HtmlTag
Microsoft.VisualStudio.TestTools.WebTesting.HtmlTagWithOffsets
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Class HtmlTagWithOffsets _
Inherits HtmlTag
public class HtmlTagWithOffsets : HtmlTag
public ref class HtmlTagWithOffsets : public HtmlTag
type HtmlTagWithOffsets =
class
inherit HtmlTag
end
public class HtmlTagWithOffsets extends HtmlTag
The HtmlTagWithOffsets type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HtmlTagWithOffsets | Initializes a new instance of the HtmlTagWithOffsets class. |
Top
Properties
Name | Description | |
---|---|---|
Attributes | Gets a collection of attributes associated with the HTML tag. (Inherited from HtmlTag.) | |
BeginOffset | Gets or set the offset for an open bracket of HtmlTag within a HTML document. | |
EndOffset | Gets or set the offset for an HtmlTag close bracket within a HTML document. | |
Name | Gets or sets the name of the tag. (Inherited from HtmlTag.) |
Top
Methods
Name | Description | |
---|---|---|
AddAttribute | Adds an attribute to the HtmlTag collection. (Inherited from HtmlTag.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAttributeValue | Gets the value of a specified attribute. (Inherited from HtmlTag.) | |
GetAttributeValueAsString | Gets the value of a specified attribute in string format. (Inherited from HtmlTag.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace