Changes a given prefix of an RxPath to a new prefix.
| C# | Visual Basic | Visual C++ |
The path with the changed prefix.
| Exception | Condition |
|---|---|
| RxPathException | If oldPrefix is not a prefix of the supplied path. |
![]() | Ranorex Documentation ChangePrefix Method (path, oldPrefix, newPrefix) Namespaces ► Ranorex.Core ► RxPath ► ChangePrefix(RxPath, RxPath, RxPath) |
| C# | Visual Basic | Visual C++ |
| Exception | Condition |
|---|---|
| RxPathException | If oldPrefix is not a prefix of the supplied path. |