RanorexRanorex Documentation
AttributeDescriptor Constructor (name, description, valueType, weight, readOnly)
NamespacesRanorex.CoreAttributeDescriptorAttributeDescriptor(String, String, Type, Int32, Boolean)
Creates a new element attribute descriptor.
Declaration Syntax
C#Visual BasicVisual C++
public AttributeDescriptor(
	string name,
	string description,
	Type valueType,
	int weight,
	bool readOnly
)
Public Sub New ( _
	name As String, _
	description As String, _
	valueType As Type, _
	weight As Integer, _
	readOnly As Boolean _
)
public:
AttributeDescriptor(
	String^ name, 
	String^ description, 
	Type^ valueType, 
	int weight, 
	bool readOnly
)
Parameters
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.
readOnly (Boolean)
Specifies whether the attribute value is read-only.
Remarks
The TruncationLength of the created attribute descriptor is set to Int32.MaxValue.

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