Breyta

Deila með


SqlDateTime.Parse(String) Method

Definition

Converts the specified String representation of a date and time to its SqlDateTime equivalent.

public:
 static System::Data::SqlTypes::SqlDateTime Parse(System::String ^ s);
public static System.Data.SqlTypes.SqlDateTime Parse (string s);
static member Parse : string -> System.Data.SqlTypes.SqlDateTime
Public Shared Function Parse (s As String) As SqlDateTime

Parameters

s
String

The string to be parsed.

Returns

A SqlDateTime structure equal to the date and time represented by the specified string.

Applies to

See also