StringConverterTryParse(String, Int64, CultureInfo) Method

Tries to convert the specified string to its System.Int64 (long) equivalent.

Definition

Namespace: Common.Core.Converters
Assembly: Common.Core (in Common.Core.dll) Version: 2.1.5
C#
public static bool TryParse(
	ref string value,
	out long result,
	CultureInfo? culture = null
)

Parameters

value  String
A string containing the value to convert.
result  Int64
If the conversion succeeded, contains the value.
culture  CultureInfo  (Optional)
An object that provides culture-specific formatting information.

Return Value

Boolean
if value was converted successfully.

See Also