Klasa HtmlAttribute
Reprezentuje atrybut HTML.
Hierarchia dziedziczenia
Object
Microsoft.VisualStudio.TestTools.WebTesting.HtmlAttribute
Microsoft.VisualStudio.TestTools.WebTesting.HtmlAttributeWithOffsets
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.WebTesting
Zestaw: Microsoft.VisualStudio.QualityTools.WebTestFramework (w Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Składnia
'Deklaracja
Public Class HtmlAttribute
public class HtmlAttribute
public ref class HtmlAttribute
type HtmlAttribute = class end
public class HtmlAttribute
Typ HtmlAttribute uwidacznia następujące elementy członkowskie.
Konstruktorzy
Nazwa | Opis | |
---|---|---|
![]() |
HtmlAttribute | Inicjuje nowe wystąpienie HtmlAttribute klasy. |
Początek
Właściwości
Nazwa | Opis | |
---|---|---|
![]() |
Name | Pobiera nazwę atrybutu ustawiony przez HtmlAttribute konstruktora. |
![]() |
Value | Pobiera wartość atrybutu przez HtmlAttribute konstruktora. |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
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). |
![]() |
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
Uwagi
HtmlAttribute Obiekt istnieje w HtmlTag atrybutu kolekcji dla każdego atrybutu, który był analizowany z tagu HTML.
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