IecBinarySizeTryParse(String, IFormatProvider, IecBinarySize) Method

Tries to parse a string into an IecBinarySize structure.

Definition

Namespace: Ookii
Assembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.0.0+877c9712c6435bf9adfdb0683d7a434c5604a8f2
C#
public static bool TryParse(
	string? s,
	IFormatProvider? provider,
	out IecBinarySize? result
)

Parameters

s  String
The string to parse.
provider  IFormatProvider
An object that provides culture-specific formatting information about s.
result  IecBinarySize
When this method returns, contains the result of successfully parsing s, or an undefined value on failure.

Return Value

Boolean
if s was successfully parsed; otherwise, .

Implements

IParsableTSelfTryParse(String, IFormatProvider, TSelf)

Remarks

See Also