Click or drag to resize

BinarySizeParse Method (String, IFormatProvider)

Converts the string representation of a byte size in a specified culture-specific format into a BinarySize structure.

Namespace:  Ookii.Jumbo
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public static BinarySize Parse(
	string value,
	IFormatProvider provider
)

Parameters

value
Type: SystemString
A string containing a number to convert. This string may use a suffix indicating a binary multiple (B, KB, KiB, K, MB, MiB, M, GB, GiB, G, TB, TiB, T, PB, PiB, or P).
provider
Type: SystemIFormatProvider
An IFormatProvider that supplies culture-specific formatting information about value. May be to use the current culture.

Return Value

Type: BinarySize
A BinarySize instance that is the equivalent of value.
See Also