RanorexRanorex Documentation
AttributeDescriptor Class
NamespacesRanorex.CoreAttributeDescriptor
A descriptor for element attributes.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public class AttributeDescriptor : Descriptor
<SerializableAttribute> _
Public Class AttributeDescriptor _
	Inherits Descriptor
[SerializableAttribute]
public ref class AttributeDescriptor : public Descriptor
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
AttributeDescriptor(String, String, Type, Int32)
Creates a new (read-only) element attribute descriptor.

AttributeDescriptor(String, String, Type, Int32, Boolean)
Creates a new element attribute descriptor.

AttributeDescriptor(String, String, Type, Int32, Boolean, Int32)
Creates a new element attribute descriptor.

CompareTo(Descriptor)
Compares the current descriptor with another descriptor.
(Inherited from Descriptor.)
Container
Gets the capability containing this attribute.

Description
The description of instance the descriptor refers to.
(Inherited from Descriptor.)
DisplayName
The name of instance the descriptor refers to, with arbitrary casing.
(Inherited from Descriptor.)
Equals(Descriptor)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Descriptor.)
Equals(Object)
Determines whether the specified Object is equal to this instance.
(Inherited from Descriptor.)
Finalize()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Returns a hash code for this instance.
(Inherited from Descriptor.)
GetType()()()
Gets the type of the current instance.
(Inherited from Object.)
GlobalWeightResolving
Occurs when the weight for any registered attribute needs to be resolved. Intended to be used by plugins to dynamically change weights based on context.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
The name of instance the descriptor refers to. This is enforced to be lower-case.
(Inherited from Descriptor.)
ReadOnly
Gets a value specifying if the attribute value is read-only.

ResolveWeight(Element)
Resolves the weight.

ToString()()()
Creates a string representation.
(Inherited from Descriptor.)
TruncationLength
Gets or sets the maximum length of the string representation of the attribute value when used in RxPaths. If the length of the string representation of the attribute value is greater than this value, the string representation is truncated and converted to a regular expression.

ValueType
The type of the attribute value. The type should provide a useful ToString() implementation, and additionally, a useful explicit cast from String.

Weight Obsolete.
Higher weighted attributes have a better chance to be used in RxPath.

WeightResolving
Occurs when the weight for this attribute needs to be resolved. Intended to be used by plugins to dynamically change weights based on context.

Inheritance Hierarchy
Object
Descriptor
 AttributeDescriptor

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)