FindsByAttribute MembersWebDriver

The FindsByAttribute type exposes the following members.
Constructors

  NameDescription
Public methodFindsByAttribute
Initializes a new instance of the FindsByAttribute class
Back to Top
Methods

  NameDescription
Public methodCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Overrides OnlineAttribute Equals(Object).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides OnlineAttribute GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodOnlineIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from OnlineAttribute.)
Public methodOnlineMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from OnlineAttribute.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Operators

  NameDescription
Public operatorStatic memberEquality
Determines if two FindsByAttribute instances are equal.
Public operatorStatic memberGreaterThan
Determines if one FindsByAttribute instance is greater than another.
Public operatorStatic memberInequality
Determines if two FindsByAttribute instances are unequal.
Public operatorStatic memberLessThan
Determines if one FindsByAttribute instance is less than another.
Back to Top
Properties

  NameDescription
Public propertyCustomFinderType
Gets or sets a value indicating the OnlineType of the custom finder. The custom finder must descend from the By class, and expose a public constructor that takes a OnlineString argument.
Public propertyHow
Gets or sets the method used to look up the element
Public propertyPriority
Gets or sets a value indicating where this attribute should be evaluated relative to other instances of this attribute decorating the same class member.
Public propertyOnlineTypeId
When implemented in a derived class, gets a unique identifier for this OnlineAttribute.
(Inherited from OnlineAttribute.)
Public propertyUsing
Gets or sets the value to lookup by (i.e. for How.Name, the actual name to look up)
Back to Top
See Also