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

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