Represents an html attribute. An attribute like a class should allow multiple
values and should be additive.
| C# | Visual Basic | Visual C++ |
public class Attribute
Public Class Attribute
public ref class Attribute
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Attribute()()() |
Initializes a new instance of the Attribute class.
| |
| Attribute(String, Object) |
Initializes a new instance of the Attribute class.
| |
| Attribute(String) |
Initializes a new instance of the Attribute class.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. (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.) | |
| Name |
Gets or sets the name of the attribute.
| |
| ToString()()() | (Inherited from Object.) | |
| Value |
Gets or sets the value of the attribute.
|
| Object | |
| Attribute | |