This method determines if the first of two OracleBinary
values is greater than the second.
Declaration
// C# public static bool operator > (OracleBinary value1, OracleBinary value2);
Parameters
value1
The first OracleBinary
.
value2
The second OracleBinary
.
Return Value
Returns true
if the first of two OracleBinary
values is greater than the second; otherwise, returns false
.
Remarks
The following rules apply to the behavior of this method.
Any OracleBinary
that has a value is greater than an OracleBinary
that has a null value.
Two OracleBinary
s that contain a null value are equal.
Example
// C# using System; using Oracle.DataAccess.Types; class OperatorSample { static void Main(string[] args) { OracleBinary binary1 = OracleBinary.Null; OracleBinary binary2 = new OracleBinary(new byte[] {1}); // Compare two OracleBinary structs; binary1 < binary2 if (binary1 > binary2) Console.WriteLine("binary1 > binary2"); else Console.WriteLine("binary1 < binary2"); } }