Compares two objects returns an indication of their relative values.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)
Syntax
C# |
---|
public int Compare( Object x, Object y ) |
Visual Basic |
---|
Public Function Compare ( x As Object, y As Object ) As Integer |
Parameters
- x
- Type: System..::..Object
the first object to compare.
- y
- Type: System..::..Object
the second object to compare.
Return Value
Type: Int32Less than zero when x is less than y. Zero when x equals y. Greater than zero when x is greater than y.