IecBinarySizeParse(String, IFormatProvider) Method

Parses a string into an IecBinarySize structure.

Definition

Namespace: Ookii
Assembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
C#
public static IecBinarySize Parse(
	string s,
	IFormatProvider? provider
)

Parameters

s  String
The string to parse.
provider  IFormatProvider
An object that provides culture-specific formatting information about s.

Return Value

IecBinarySize
The result of parsing s.

Implements

IParsableTSelfParse(String, IFormatProvider)

Remarks

Exceptions

ArgumentNullExceptions is .
ArgumentExceptionoptions is not valid.
FormatExceptions is not in the correct format.
OverflowExceptions is not representable as a BinarySize.

See Also