StringExtensions..::..ParseExactDateTime Method (String, array<String>[]()[][], IFormatProvider, DateTimeStyles)

Parses the exact date time.

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

Syntax


private static DateTime ParseExactDateTime(
	string s,
	string[] formats,
	IFormatProvider provider,
	DateTimeStyles style
)
Private Shared Function ParseExactDateTime ( _
	s As String, _
	formats As String(), _
	provider As IFormatProvider, _
	style As DateTimeStyles _
) As DateTime
private:
static DateTime^ ParseExactDateTime(
	String^ s, 
	array<String^>^ formats, 
	IFormatProvider^ provider, 
	DateTimeStyles^ style
)

Parameters

s
Type: String
The s.
formats
Type: array<String>[]()[][]
The formats.
provider
Type: IFormatProvider
The provider.
style
Type: DateTimeStyles
The style.

Return Value

DateTime.