Klasa HtmlTagWithOffsets
Rozszerza podstawowe HtmlTag przez rozpoczęciem śledzenia i tag końcowy jest przeciwstawna wewnątrz dokumentu HTML.
Hierarchia dziedziczenia
Object
Microsoft.VisualStudio.TestTools.WebTesting.HtmlTag
Microsoft.VisualStudio.TestTools.WebTesting.HtmlTagWithOffsets
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.WebTesting
Zestaw: Microsoft.VisualStudio.QualityTools.WebTestFramework (w Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Składnia
'Deklaracja
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
Typ HtmlTagWithOffsets uwidacznia następujące elementy członkowskie.
Konstruktorzy
Nazwa | Opis | |
---|---|---|
![]() |
HtmlTagWithOffsets | Inicjuje nowe wystąpienie HtmlTagWithOffsets klasy. |
Początek
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Attributes | Pobiera zbiór atrybutów skojarzonych z tagu HTML. (Odziedziczone z HtmlTag). |
![]() |
BeginOffset | Pobiera lub Ustaw przesunięcie open bracket z HtmlTag wewnątrz dokumentu HTML. |
![]() |
EndOffset | Pobiera lub ustawić wartość przesunięcia dla HtmlTag Zamknij nawias wewnątrz dokumentu HTML. |
![]() |
Name | Zwraca lub ustawia nazwę znacznika. (Odziedziczone z HtmlTag). |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
AddAttribute | Dodaje atrybut HtmlTag kolekcji. (Odziedziczone z HtmlTag). |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Odziedziczone z Object). |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object). |
![]() |
GetAttributeValue | Pobiera wartość określony atrybut. (Odziedziczone z HtmlTag). |
![]() |
GetAttributeValueAsString | Pobiera wartość określony atrybut w formacie ciągu znaków. (Odziedziczone z HtmlTag). |
![]() |
GetHashCode | Serves as the default hash function. (Odziedziczone z Object). |
![]() |
GetType | Gets the Type of the current instance. (Odziedziczone z Object). |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Odziedziczone z Object). |
![]() |
ToString | Returns a string that represents the current object. (Odziedziczone z Object). |
Początek
Bezpieczeństwo wątku
Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.
Zobacz też
Informacje
Przestrzeń nazw Microsoft.VisualStudio.TestTools.WebTesting