HumanInTheLoopExtentions.TryParseApprovalResponse(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to parse an input string to determine if it represents an approval or denial.
public static bool TryParseApprovalResponse(string? input, out bool isApproved);
static member TryParseApprovalResponse : string * bool -> bool
Public Function TryParseApprovalResponse (input As String, ByRef isApproved As Boolean) As Boolean
Parameters
- input
- String
The input string to parse.
- isApproved
- Boolean
True if the input represents approval; false if it represents denial.
Returns
True if parsing was successful; false otherwise.