ParseResult.GetValueOrDefault<T> method (1 of 2)

Gets the parse result value on success, or the default value on failure.

public static T? GetValueOrDefault<T>(this IParseResult<T> result)

See Also


ParseResult.GetValueOrDefault<T> method (2 of 2)

Gets the parse result value on success, or the default value on failure.

public static T? GetValueOrDefault<T>(this IParseResult<T> result, T? defaultValue)

See Also