Creates a new (read-only) element attribute descriptor.
| C# | Visual Basic | Visual C++ |
- name (String)
- The name of the attribute. This should be CamelCased.
- description (String)
- A short description of the attribute.
- valueType (Type)
- The type of the attribute. This type should provide a useful ToString() implementation.
- weight (Int32)
- The weight of this attribute in the context of the element. If the weight is <100 it is not used in the RanorexPath.
The created attribute descriptor is read-only and its TruncationLength is set to Int32.MaxValue.
