| 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
)
Public Shared Function Parse (
value As String,
provider As IFormatProvider
) As BinarySize
public:
static BinarySize Parse(
String^ value,
IFormatProvider^ provider
)
static member Parse :
value : string *
provider : IFormatProvider -> BinarySize
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:
BinarySizeA
BinarySize instance that is the equivalent of
value.
See Also