 | ElementSnapshotCreateSimpleClone Method (Element, Int32) |
Creates a simple clone snapshot of the element.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static Element CreateSimpleClone(
Element element,
int depth
)
Public Shared Function CreateSimpleClone (
element As Element,
depth As Integer
) As Element
Parameters
- element
- Type: Ranorex.CoreElement
The element to use for the snapshot. - depth
- Type: SystemInt32
The tree depth for the snapshot. (0=element itself).
Return Value
Type:
ElementThe cloned element.
See Also