Click or drag to resize
Ranorex

Capability Constructor (String, String, Image, Boolean, IListActionDescriptor, IListAttributeDescriptor, String, String)

Creates a new capability.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public Capability(
	string displayName,
	string description,
	Image icon,
	bool isUsefulContainer,
	IList<ActionDescriptor> actions,
	IList<AttributeDescriptor> attributes,
	string labelAttributeName,
	string contentAttributeName
)

Parameters

displayName
Type: SystemString
The name of the capability. This should be CamelCased.
description
Type: SystemString
A short description of the capability.
icon
Type: System.DrawingImage
An icon which represents the capability, or null to use the default icon.
isUsefulContainer
Type: SystemBoolean
If true, the capability represents, from a user interface perspective, a useful/logical container. and is used alternatively to the name in RxPath.
actions
Type: System.Collections.GenericIListActionDescriptor
A list of actions provided by this capability.
attributes
Type: System.Collections.GenericIListAttributeDescriptor
A list of attributes provided by this capability.
labelAttributeName
Type: SystemString
Name of the attribute which acts as a label (can be null).
contentAttributeName
Type: SystemString
Name of the attribute which represents the content of an element (can be null).
See Also