[]
Validates whether the specified value exists in the given Candidates list.
protected override bool Validate(ValidateActionContext context)
Protected Overrides Function Validate(context As ValidateActionContext) As Boolean
Type | Name | Description |
---|---|---|
ValidateActionContext | context | A ValidateActionContext value that indicates which value should be validated and contains relative context information. |
Type | Description |
---|---|
bool | true if the specifed value exists in the given candidate string list; otherwise,false. |
If the cell value is null, and Candidates has a null value, the validation is successful.