Export (0) Print
Expand All

HtmlTagWithOffsets Class

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

System.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)

public class HtmlTagWithOffsets : HtmlTag

The HtmlTagWithOffsets type exposes the following members.

  NameDescription
Public methodHtmlTagWithOffsetsInitializes a new instance of the HtmlTagWithOffsets class.
Top

  NameDescription
Public propertyAttributesGets a collection of attributes associated with the HTML tag. (Inherited from HtmlTag.)
Public propertyBeginOffsetGets or set the offset for an open bracket of HtmlTag within a HTML document.
Public propertyEndOffsetGets or set the offset for an HtmlTag close bracket within a HTML document.
Public propertyNameGets or sets the name of the tag. (Inherited from HtmlTag.)
Top

  NameDescription
Public methodAddAttributeAdds an attribute to the HtmlTag collection. (Inherited from HtmlTag.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAttributeValueGets the value of a specified attribute. (Inherited from HtmlTag.)
Public methodGetAttributeValueAsStringGets the value of a specified attribute in string format. (Inherited from HtmlTag.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft