Quad.TryParse Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

TryParse(String, Quad) Attempts to convert a string value to a Quad.
TryParse(String, NumberStyles, IFormatProvider, Quad) Attempts to convert a string value to a Quad.

TryParse(String, Quad)

Attempts to convert a string value to a Quad.
C#
public static bool TryParse(
	string s,
	out Quad value
)

Parameters

s  String
The string to convert.
value  Quad
On return, the converted value.

Return Value

Boolean
true if the conversion was successful; otherwise false.

Exceptions

ArgumentNullExceptionvalue is null.

TryParse(String, NumberStyles, IFormatProvider, Quad)

Attempts to convert a string value to a Quad.
C#
public static bool TryParse(
	string s,
	NumberStyles style,
	IFormatProvider provider,
	out Quad value
)

Parameters

s  String
The string to convert.
style  NumberStyles
A NumberStyles value that specifies the allowed formats of the string.
provider  IFormatProvider
An IFormatProvider that specifies how the string should be interpreted.
value  Quad
On return, the converted value.

Return Value

Boolean
true if the conversion was successful; otherwise false.

Exceptions

ArgumentNullExceptionvalue is null.

See Also