Skip to content

HierarchicalKey.Parse(ReadOnlySpan<char>, IFormatProvider?)

Parse(ReadOnlySpan<char>, IFormatProvider?)

static
View source
public static HierarchicalKey Parse(ReadOnlySpan<char> s, IFormatProvider? provider = null)
Parses a span of characters into a value.

Parameters

sReadOnlySpan<char>
The span of characters to parse.
providerIFormatProvider?
An object that provides culture-specific formatting information about s.

Returns

The result of parsing s.

Exceptions

System.FormatException
s is not in the correct format.
System.OverflowException
s is not representable by TSelf.