TryParse<TInput,TOutput> Delegate

Definition

Tries to parse the input.

public delegate bool TryParse<TInput,TOutput>(TInput input, bool ignoreCase, out TOutput output);
type TryParse<'Input, 'Output> = delegate of 'Input * bool * 'Output -> bool
Public Delegate Function TryParse(Of TInput, TOutput)(input As TInput, ignoreCase As Boolean, ByRef output As TOutput) As Boolean 

Type Parameters

TInput

Input type parse.

TOutput

Parsed output type.

Parameters

input
TInput

Input object to parse.

ignoreCase
Boolean

Specifies weather to ignore case or not.

output
TOutput

Parsed output object.

Return Value

True if the parsing was successful, otherwise returns false.

Applies to