public static IecBinarySize Parse(
string s,
IFormatProvider? provider
)
Public Shared Function Parse (
s As String,
provider As IFormatProvider
) As IecBinarySize
public:
static IecBinarySize Parse(
String^ s,
IFormatProvider^ provider
)
static member Parse :
s : string *
provider : IFormatProvider -> IecBinarySize
This method behaves identical to the BinarySizeParse(String, BinarySizeOptions, NumberStyles, IFormatProvider) method with the BinarySizeOptionsUseIecStandard flag.
ArgumentNullException | s is . |
ArgumentException | options is not valid. |
FormatException | s is not in the correct format. |
OverflowException | s is not representable as a BinarySize. |