Collapse All Expand All

C#

Clarion Library 6.1.1
DimensionValuePair..::..CompareTo Method (Object)
DimensionValuePair Class See Also Send Feedback

[This is preliminary documentation and is subject to change.]

Compares the specified object to this dimension-value pair.

Namespace: Clarion.Framework
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

# Syntax

C#
    public int CompareTo(
    	Object dv
    )

#### Parameters

dv
  Type: System..::..Object
  The object to compare to this dimension-value pair

#### Return Value

-1 if the specified object is bigger than this dimension-value pair

0 if the two dimension-value pairs are equal

1 if this dimension-value pair is bigger than the specified object

#### Implements

IComparable..::..CompareTo(Object)

# Exceptions

Exception | Condition
--- | ---
System..::..ArgumentNullException | If the specified object is null
System..::..InvalidOperationException | If the specified object is not of the type DimensionValuePair

# See Also

DimensionValuePair Class
CompareTo Overload
Clarion.Framework Namespace