Jaa


TimeOfDay.Parse Method

Definition

Overloads

Parse(String)

Converts a specified string representation of a date to TimeOfDay with CurrentCulture format.

Parse(String, IFormatProvider)

Converts a specified string representation of a date to TimeOfDay.

Parse(String)

Converts a specified string representation of a date to TimeOfDay with CurrentCulture format.

public static Microsoft.OData.Edm.TimeOfDay Parse (string text);
static member Parse : string -> Microsoft.OData.Edm.TimeOfDay
Public Shared Function Parse (text As String) As TimeOfDay

Parameters

text
String

A string that represent a timeofday to convert.

Returns

The TimeOfDay instance represented by text

Applies to

Parse(String, IFormatProvider)

Converts a specified string representation of a date to TimeOfDay.

public static Microsoft.OData.Edm.TimeOfDay Parse (string text, IFormatProvider provider);
static member Parse : string * IFormatProvider -> Microsoft.OData.Edm.TimeOfDay
Public Shared Function Parse (text As String, provider As IFormatProvider) As TimeOfDay

Parameters

text
String

A string that represent a timeofday to convert.

provider
IFormatProvider

An object that supplies culture-specific formatting information about text.

Returns

The TimeOfDay instance represented by text

Applies to