RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

ExtensionMethods..::..TryParseDateTime Method

Tries the parse date time.

Namespace:  RingSoft.DataEntryControls.Engine
Assembly:  RingSoft.DataEntryControls.Engine (in RingSoft.DataEntryControls.Engine.dll)

Syntax


public static bool TryParseDateTime(
	this string text,
	out DateTime result,
	CultureInfo culture
)
<ExtensionAttribute> _
Public Shared Function TryParseDateTime ( _
	text As String, _
	<OutAttribute> ByRef result As DateTime, _
	culture As CultureInfo _
) As Boolean
[ExtensionAttribute]
public:
static bool^ TryParseDateTime(
	String^ text, 
	[OutAttribute] DateTime^% result, 
	CultureInfo^ culture
)

Parameters

text
Type: String
The text.
result
Type: DateTime%
The result.
culture
Type: CultureInfo
The culture.

Return Value

true if XXXX, false otherwise.