explicit operator long
This type conversion operator converts an OracleIntervalYM to a number that represents the number of months in the time interval.
Declaration
// C#
public static explicit operator long (OracleIntervalYM val);Parameters
-
valAn
OracleIntervalYMstructure.
Return Value
A long number in months.
Exceptions
OracleNullValueException - The OracleIntervalYM structure has a null value.