Skip to content

Period.TryParse Method

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: Period.cs

TryParse(ReadOnlySpan<byte>, ref Period)

Parses a string into a Period.

public static bool TryParse(ReadOnlySpan<byte> value, ref Period result)

Parameters

Name Type Description
value ReadOnlySpan<byte> The string to parse.
result ref Period The resulting period.

Returns

bool

true if the period could be parsed from the string.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue