explicit operator OracleIntervalYM
This type conversion operator converts the string intervalStr to an OracleIntervalYM structure.
Declaration
// C#
public static explicit operator OracleIntervalYM (string intervalStr);Parameters
-
intervalStrA string representation of an Oracle
INTERVALYEARTOMONTH.
Return Value
An OracleIntervalYM structure.
Exceptions
ArgumentException - The supplied intervalStr parameter is not in the correct format or has an invalid value.
ArgumentNullException - The intervalStr parameter is null.
Remarks
The returned OracleIntervalDS structure contains the same time interval represented by the supplied intervalStr. The value specified in the supplied intervalStr must be in Year-Month format.