OracleMonthSpan Structure

OracleMonthSpan Structure

 

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

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

public struct OracleMonthSpan : IComparable, INullable

NameDescription
System_CAPS_pubmethodOracleMonthSpan(Int32)

Initializes a new OracleMonthSpan structure to the specified number of months.

System_CAPS_pubmethodOracleMonthSpan(Int32, Int32)

Initializes a new OracleMonthSpan structure to a specified number years and months.

System_CAPS_pubmethodOracleMonthSpan(OracleMonthSpan)

Initializes a new OracleMonthSpan structure from an existing one.

NameDescription
System_CAPS_pubpropertyIsNull

Gets a value indicating whether the Value property of the OracleMonthSpan structure is null.

System_CAPS_pubpropertyValue

Gets the value of the OracleMonthSpan structure.

NameDescription
System_CAPS_pubmethodCompareTo(Object)

Compares this OracleMonthSpan structure to the supplied object and returns an indication of their relative values.

System_CAPS_pubmethodEquals(Object)

Compares the supplied object parameter to the Value property of the OracleMonthSpan object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodSystem_CAPS_staticEquals(OracleMonthSpan, OracleMonthSpan)

Performs a logical comparison of two OracleMonthSpan structures to determine if they are equal.

System_CAPS_pubmethodGetHashCode()

Gets the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGreaterThan(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is greater than the second.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is greater than or equal to the second.

System_CAPS_pubmethodSystem_CAPS_staticLessThan(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is less than the second.

System_CAPS_pubmethodSystem_CAPS_staticLessThanOrEqual(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is less than or equal to the second.

System_CAPS_pubmethodSystem_CAPS_staticNotEquals(OracleMonthSpan, OracleMonthSpan)

Performs a logical comparison of two instances of OracleMonthSpan to determine if they are not equal.

System_CAPS_pubmethodSystem_CAPS_staticParse(String)

Converts the specified String representation of a date and time to its OracleMonthSpan equivalent.

System_CAPS_pubmethodToString()

Converts this OracleMonthSpan structure to a String.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticMaxValue

Represents the maximum valid date value for an OracleMonthSpan structure.

System_CAPS_pubfieldSystem_CAPS_staticMinValue

Represents the minimum valid date value for an OracleMonthSpan structure.

System_CAPS_pubfieldSystem_CAPS_staticNull

Represents a null value that can be assigned to the Value property of an instance of the OracleMonthSpan structure.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(OracleMonthSpan, OracleMonthSpan)

Performs a logical comparison of two OracleMonthSpan structures to determine if they are equal.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(OracleMonthSpan to Int32)

Converts an OracleMonthSpan structure to an Int32.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(String to OracleMonthSpan)

Converts a string to an OracleMonthSpan structure.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThan(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is greater than the second.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is greater than or equal to the second.

System_CAPS_puboperatorSystem_CAPS_staticInequality(OracleMonthSpan, OracleMonthSpan)

Performs a logical comparison of two instances of OracleMonthSpan to determine if they are equal.

System_CAPS_puboperatorSystem_CAPS_staticLessThan(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is less than the second.

System_CAPS_puboperatorSystem_CAPS_staticLessThanOrEqual(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.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft