 | DialogDropdownValueExists Method |
Check if a value exists as a selectable item in a dropdown list.
Namespace: Blackbaud.UAT.Core.Crm.DialogsAssembly: Blackbaud.UAT.Core (in Blackbaud.UAT.Core.dll) Version: 1.0.1304.1 (1.0.1304.1)
Syntaxpublic static bool DropdownValueExists(
string xPath,
string value
)
Public Shared Function DropdownValueExists (
xPath As String,
value As String
) As Boolean
public:
static bool DropdownValueExists(
String^ xPath,
String^ value
)
Parameters
- xPath
- Type: SystemString
The xPath of the dropdown. Advised to use Dialog.getXInput() - value
- Type: SystemString
The value to check for as an option in the dropdown.
Return Value
Type:
BooleanTrue if the value is an option, false otherwise.
See Also