This documentation is archived and is not being maintained.
OracleMonthSpan Structure
Visual Studio 2010
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)
The OracleMonthSpan type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | OracleMonthSpan(Int32) | Initializes a new OracleMonthSpan structure to the specified number of months. |
![]() | OracleMonthSpan(OracleMonthSpan) | Initializes a new OracleMonthSpan structure from an existing one. |
![]() | OracleMonthSpan(Int32, Int32) | Initializes a new OracleMonthSpan structure to a specified number years and months. |
| Name | Description | |
|---|---|---|
![]() | CompareTo | 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. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Gets the hash code for this instance. (Overrides ValueType::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | GreaterThan | Compares two instances of OracleMonthSpan to determine if the first is greater than the second. |
![]() ![]() | GreaterThanOrEqual | Compares two instances of OracleMonthSpan to determine if the first is greater than or equal to the second. |
![]() ![]() | LessThan | Compares two instances of OracleMonthSpan to determine if the first is less than the second. |
![]() ![]() | LessThanOrEqual | Compares two instances of OracleMonthSpan to determine if the first is less than or equal to the second. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | NotEquals | Performs a logical comparison of two instances of OracleMonthSpan to determine if they are not equal. |
![]() ![]() | Parse | 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 | 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 | Compares two instances of OracleMonthSpan to determine if the first is greater than the second. |
![]() ![]() | GreaterThanOrEqual | Compares two instances of OracleMonthSpan to determine if the first is greater than or equal to the second. |
![]() ![]() | Inequality | Performs a logical comparison of two instances of OracleMonthSpan to determine if they are equal. |
![]() ![]() | LessThan | Compares two instances of OracleMonthSpan to determine if the first is less than the second. |
![]() ![]() | LessThanOrEqual | 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
