Classe HtmlAttributeWithOffsets
Amplia a basic HtmlAttribute e controla o início e término de deslocamentos em um documento HTML.
Hierarquia de herança
Object
Microsoft.VisualStudio.TestTools.WebTesting.HtmlAttribute
Microsoft.VisualStudio.TestTools.WebTesting.HtmlAttributeWithOffsets
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (em Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Sintaxe
'Declaração
Public Class HtmlAttributeWithOffsets _
Inherits HtmlAttribute
public class HtmlAttributeWithOffsets : HtmlAttribute
public ref class HtmlAttributeWithOffsets : public HtmlAttribute
type HtmlAttributeWithOffsets =
class
inherit HtmlAttribute
end
public class HtmlAttributeWithOffsets extends HtmlAttribute
O tipo HtmlAttributeWithOffsets expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
![]() |
HtmlAttributeWithOffsets | Inicializa uma nova instância da classe HtmlAttributeWithOffsets. |
Superior
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
BeginOffset | Obtém ou define o primeiro deslocamento de caractere de um atributo HTML dentro de um documento HTML. |
![]() |
EndOffset | Obtém ou define o último deslocamento de caractere de um atributo HTML dentro de um documento HTML. |
![]() |
Name | Obtém o nome do atributo definido pelo HtmlAttribute construtor. (Herdado de HtmlAttribute.) |
![]() |
Value | Obtém o valor do atributo definido pelo HtmlAttribute construtor. (Herdado de HtmlAttribute.) |
Superior
Métodos
Nome | Descrição | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Herdado de Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Herdado de Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Herdado de Object.) |
![]() |
GetType | Gets the Type of the current instance. (Herdado de Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Herdado de Object.) |
![]() |
ToString | Returns a string that represents the current object. (Herdado de Object.) |
Superior
Acesso thread-safe
Quaisquer membros estático (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.
Consulte também
Referência
Namespace Microsoft.VisualStudio.TestTools.WebTesting