UIecBinarySizeTryParse(String, IFormatProvider, UIecBinarySize) Method

Tries to parse a string into an UIecBinarySize structure.

Definition

Namespace: Ookii
Assembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
C#
public static bool TryParse(
	string? s,
	IFormatProvider? provider,
	out UIecBinarySize? result
)

Parameters

s  String
The string to parse.
provider  IFormatProvider
An object that provides culture-specific formatting information about s.
result  UIecBinarySize
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