TryParse(Scalar, Type, out Object?) Method

Definition

Assembly SharpYaml.dll

Gets the default tag and value for the specified Scalar. The default tag can be different from a actual tag of this NodeEvent.

bool TryParse(Scalar scalar, Type type, scoped out object? value)

Parameters

scalar
Scalar

The scalar event.

type
Type

The type.

value
Object

The value extracted from a scalar.

Returns

Boolean
System.String.