This documentation is archived and is not being maintained.

OracleMonthSpan Structure

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Represents a time interval in months and corresponds to the Oracle 9i INTERVAL YEAR TO MONTH data type.

For a list of all members of this type, see OracleMonthSpan Members.


[Visual Basic]
Public Structure OracleMonthSpan
   Implements IComparable, INullable
public struct OracleMonthSpan : IComparable, INullable
public __value struct OracleMonthSpan : public IComparable,

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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.


Namespace: System.Data.OracleClient

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Data.Oracleclient (in System.Data.Oracleclient.dll)

See Also

OracleMonthSpan Members | System.Data.OracleClient Namespace