 | FlavorElementGetElementCapabilities Method |
Supplies the role, a list of capabilities and a preferred capability names to the caller.
This method called when building a new element from the flavor element.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic abstract void GetElementCapabilities(
Element parent,
out Role role,
out string[] capabilities,
out string preferredCap
)
Public MustOverride Sub GetElementCapabilities (
parent As Element,
<OutAttribute> ByRef role As Role,
<OutAttribute> ByRef capabilities As String(),
<OutAttribute> ByRef preferredCap As String
)
Parameters
- parent
- Type: Ranorex.CoreElement
The parent element of the element to be constructed. (for reference only) - role
- Type: Ranorex.CoreRole
The role the element should have. - capabilities
- Type: SystemString
The list of capabilities the element should have. - preferredCap
- Type: SystemString
The preferred capability the element should have.
See Also