Редагувати

Поділитися через


OracleDateTime.Explicit Operator

Definition

Used for explicit OracleDateTime conversion.

Overloads

Explicit(String to OracleDateTime)

Converts a String to an OracleDateTime structure.

Explicit(OracleDateTime to DateTime)

Converts an OracleDateTime structure to a DateTime structure.

Explicit(String to OracleDateTime)

Converts a String to an OracleDateTime structure.

public:
 static explicit operator System::Data::OracleClient::OracleDateTime(System::String ^ x);
public static explicit operator System.Data.OracleClient.OracleDateTime (string x);
static member op_Explicit : string -> System.Data.OracleClient.OracleDateTime
Public Shared Narrowing Operator CType (x As String) As OracleDateTime

Parameters

x
String

A String to be converted to an OracleDateTime structure.

Returns

An OracleDateTime structure whose Value is equal to the values contained in the String.

Applies to

Explicit(OracleDateTime to DateTime)

Converts an OracleDateTime structure to a DateTime structure.

public:
 static explicit operator DateTime(System::Data::OracleClient::OracleDateTime x);
public static explicit operator DateTime (System.Data.OracleClient.OracleDateTime x);
static member op_Explicit : System.Data.OracleClient.OracleDateTime -> DateTime
Public Shared Narrowing Operator CType (x As OracleDateTime) As DateTime

Parameters

x
OracleDateTime

An OracleDateTime structure.

Returns

A DateTime structure whose Date and TimeOfDay properties contain the same date and time values as the Value property of the supplied OracleDateTime structure.

Applies to