StringExtensions..::..TryParse Method (String, NumberStyles, IFormatProvider, Int64%)

Tries the parse.

Namespace:  MichaelBrandonMorris.Extensions.PrimitiveExtensions
Assembly:  MichaelBrandonMorris.Extensions.PrimitiveExtensions (in MichaelBrandonMorris.Extensions.PrimitiveExtensions.dll)

Syntax


public static bool TryParse(
	string s,
	NumberStyles style,
	IFormatProvider provider,
	out long result
)
Public Shared Function TryParse ( _
	s As String, _
	style As NumberStyles, _
	provider As IFormatProvider, _
	<OutAttribute> ByRef result As Long _
) As Boolean
public:
static bool^ TryParse(
	String^ s, 
	NumberStyles^ style, 
	IFormatProvider^ provider, 
	[OutAttribute] long long^% result
)

Parameters

s
Type: String
The s.
style
Type: NumberStyles
The style.
provider
Type: IFormatProvider
The provider.
result
Type: Int64%
The result.

Return Value

true if XXXX, false otherwise.