Equals

Overloads Object

This static method determines whether or not the two OracleStrings being compared are equal.

Declaration

// C#
public static bool Equals(OracleString str1, OracleString str2);

Parameters

  • str1

    The first OracleString.

  • str2

    The second OracleString.

Return Value

Returns true if the two OracleStrings being compared are equal; returns false otherwise.

Remarks

The following rules apply to the behavior of this method.

  • Any OracleString that has a value is greater than an OracleString that has a null value.

  • Two OracleStrings that contain a null value are equal.