 | ValidateNotExists Method (RepoItemInfo, String, Boolean) |
Validates if the element for the specified repository item does not exist.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool NotExists(
RepoItemInfo itemInfo,
string message,
bool exceptionOnFail
)
Public Shared Function NotExists (
itemInfo As RepoItemInfo,
message As String,
exceptionOnFail As Boolean
) As Boolean
Parameters
- itemInfo
- Type: Ranorex.Core.RepositoryRepoItemInfo
The RepoItemInfo object for the repository item. - message
- Type: SystemString
The message to log. "{0}" is replaced by the name
of the itemInfo object. - exceptionOnFail
- Type: SystemBoolean
A value specifying if an exception should be
thrown if the validation fails.
Return Value
Type:
BooleanTrue if the element for the repository item does not exist; otherwise
false.
Exceptions
See Also