This class represents a markup attribute (foo="bar").
The iAttribute object contains a starting 'i' to distinguish it from System.Attribute.
Inheritance Hierarchy
ArtOfTest.WebAii.ObjectModeliAttribute
Namespace: ArtOfTest.WebAii.ObjectModel
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The iAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
iAttribute |
Create a new attribute.
| |
iAttribute(String, String) |
Create a new attribute.
|
Properties
Name | Description | |
---|---|---|
AttributeType |
Gets the attribute type (i.e. Style/Event/Other).
| |
BeginQuote |
Gets/Sets the begin quote type of the attribute.
| |
DecodedValue |
The value of the attribute after converting any HTML entities to normal characters
e.g. & -> & | |
EndQuote |
Gets/Sets the end quote type of the attribute
| |
IsSingular |
Gets/Sets whether the attribute is singluar.
Examples The nowrap attribute is a singluar attribute in <foo id="myfoo" nowrap /> . | |
Name |
Gets/Sets the name of this attribute.
| |
RawValue |
The raw value of the attribute including any quotes.
| |
Styles |
The Styles collection if AttributeType = Style.
Examples | |
Value |
Gets/Sets the value of this attribute.
Remarks |
Methods
Name | Description | |
---|---|---|
ContainsPartialAttributeValue |
Determines whether a partial attribute value is contained in this attribute value
Also makes sure the attribute name is correct.
| |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(iAttribute, StringComparison, Boolean) |
Determines equality between two attributes
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAttributeList |
Quick shortcut to get a list of attributes. Pass in the name/value pairs as a semi-colon delimited list.
Examples | |
GetHashCode | Serves as the default hash function. (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.) | |
ToString |
A string representation of the attribute.
(Overrides ObjectToString.) |
Events
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when a property changes on this iAttribute object.
|
See Also