OracleDateTime.Explicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used for explicit OracleDateTime conversion.
Overloads
Explicit(String to OracleDateTime) |
Converts a |
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
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.