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.

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(Object)
Determines whether the specified Object is equal to the current 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.)
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: 3.2.3.16825 (3.2.3.16825)