OracleMonthSpan Structure
Represents a time interval in months and corresponds to the Oracle 9i INTERVAL YEAR TO MONTH data type.
Assembly: System.Data.OracleClient (in System.Data.OracleClient.dll)
| Name | Description | |
|---|---|---|
![]() | OracleMonthSpan(Int32) | Initializes a new OracleMonthSpan structure to the specified number of months. |
![]() | OracleMonthSpan(Int32, Int32) | Initializes a new OracleMonthSpan structure to a specified number years and months. |
![]() | OracleMonthSpan(OracleMonthSpan) | Initializes a new OracleMonthSpan structure from an existing one. |
| Name | Description | |
|---|---|---|
![]() | CompareTo(Object^) | Compares this OracleMonthSpan structure to the supplied object and returns an indication of their relative values. |
![]() | Equals(Object^) | Compares the supplied object parameter to the Value property of the OracleMonthSpan object.(Overrides ValueType::Equals(Object^).) |
![]() ![]() | Equals(OracleMonthSpan, OracleMonthSpan) | Performs a logical comparison of two OracleMonthSpan structures to determine if they are equal. |
![]() | GetHashCode() | Gets the hash code for this instance.(Overrides ValueType::GetHashCode().) |
![]() | GetType() | |
![]() ![]() | GreaterThan(OracleMonthSpan, OracleMonthSpan) | Compares two instances of OracleMonthSpan to determine if the first is greater than the second. |
![]() ![]() | GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan) | Compares two instances of OracleMonthSpan to determine if the first is greater than or equal to the second. |
![]() ![]() | LessThan(OracleMonthSpan, OracleMonthSpan) | Compares two instances of OracleMonthSpan to determine if the first is less than the second. |
![]() ![]() | LessThanOrEqual(OracleMonthSpan, OracleMonthSpan) | Compares two instances of OracleMonthSpan to determine if the first is less than or equal to the second. |
![]() ![]() | NotEquals(OracleMonthSpan, OracleMonthSpan) | Performs a logical comparison of two instances of OracleMonthSpan to determine if they are not equal. |
![]() ![]() | Parse(String^) | Converts the specified String representation of a date and time to its OracleMonthSpan equivalent. |
![]() | ToString() | Converts this OracleMonthSpan structure to a String.(Overrides ValueType::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(OracleMonthSpan, OracleMonthSpan) | Performs a logical comparison of two OracleMonthSpan structures to determine if they are equal. |
![]() ![]() | Explicit(OracleMonthSpan to Int32) | Converts an OracleMonthSpan structure to an Int32. |
![]() ![]() | Explicit(String^ to OracleMonthSpan) | Converts a string to an OracleMonthSpan structure. |
![]() ![]() | GreaterThan(OracleMonthSpan, OracleMonthSpan) | Compares two instances of OracleMonthSpan to determine if the first is greater than the second. |
![]() ![]() | GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan) | Compares two instances of OracleMonthSpan to determine if the first is greater than or equal to the second. |
![]() ![]() | Inequality(OracleMonthSpan, OracleMonthSpan) | Performs a logical comparison of two instances of OracleMonthSpan to determine if they are equal. |
![]() ![]() | LessThan(OracleMonthSpan, OracleMonthSpan) | Compares two instances of OracleMonthSpan to determine if the first is less than the second. |
![]() ![]() | LessThanOrEqual(OracleMonthSpan, OracleMonthSpan) | Compares two instances of OracleMonthSpan to determine if the first is less than or equal to the second. |
The Oracle INTERVAL YEAR TO MONTH data type (Oracle 9i or later) contains an interval of time in years and months, and has a fixed size of 5 bytes.
To obtain an OracleMonthSpan object, call the GetOracleMonthSpan method.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




