iAttribute Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
This class represents a markup attribute (foo="bar"). The iAttribute object contains a starting 'i' to distinguish it from System.Attribute.
Inheritance Hierarchy


Namespace:  ArtOfTest.WebAii.ObjectModel
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)

public class iAttribute : INotifyPropertyChanged, IiAttribute

The iAttribute type exposes the following members.


Public methodiAttribute
Create a new attribute.
Public methodiAttribute(String, String)
Create a new attribute.

Public propertyAttributeType
Gets the attribute type (i.e. Style/Event/Other).
Public propertyBeginQuote
Gets/Sets the begin quote type of the attribute.
Public propertyDecodedValue
The value of the attribute after converting any HTML entities to normal characters e.g. & -> &
Public propertyEndQuote
Gets/Sets the end quote type of the attribute
Public propertyCode exampleIsSingular
Gets/Sets whether the attribute is singluar.

The nowrap attribute is a singluar attribute in  <foo id="myfoo" nowrap /> .
Public propertyName
Gets/Sets the name of this attribute.
Public propertyRawValue
The raw value of the attribute including any quotes.
Public propertyCode exampleStyles
The Styles collection if AttributeType = Style.

The following element <foo style="height:1px;width:2px;" /> , will contain a NameValueCollection that consists of two items: The first : name=height,value=1px The second : name=width,value=2px
Public propertyValue
Gets/Sets the value of this attribute.

The value will be trimmed from any beginning or ending quotes. If you need the raw value use the RawValue property.

Public methodContainsPartialAttributeValue
Determines whether a partial attribute value is contained in this attribute value Also makes sure the attribute name is correct.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(iAttribute, StringComparison, Boolean)
Determines equality between two attributes
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberCode exampleGetAttributeList
Quick shortcut to get a list of attributes. Pass in the name/value pairs as a semi-colon delimited list.

For example: GetAttributeList("id=foo","checked=true") Note: Any string that don't contain a pair will be ignored. Don't include an type of quotes.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
A string representation of the attribute.
(Overrides ObjectToString.)

Public eventPropertyChanged
Occurs when a property changes on this iAttribute object.
See Also