Skip to content

MessageId.Parse(string, IFormatProvider?)

Parse(string, IFormatProvider?)

static
View source
public static MessageId Parse(string s, IFormatProvider? provider = null)
Parses a string into a value.

Parameters

sstring
The string to parse.
providerIFormatProvider?
An object that provides culture-specific formatting information about s.

Returns

The result of parsing s.

Exceptions

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