ValidateAnswer Method
Checks to make sure that the specified answer is compatable with the corresponding prompt style.
Syntax
public static System.bool ValidateAnswer(
PromptStyle style,
PromptAnswer answer
)Public Shared Function ValidateAnswer( _
ByVal style As PromptStyle, _
ByVal answer As PromptAnswer _
) As System.BooleanParameters
| Name | Description |
|---|---|
| style | The prompt style to check the answer against. |
| answer | The prompt answer to check. |
Return Value
Whether or not answer is compatible with style.