Compares the current object with another object of the same type.

Namespace: NHibernate.Action
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public virtual int CompareTo(
	CollectionAction other
)
Visual Basic
Public Overridable Function CompareTo ( _
	other As CollectionAction _
) As Integer
Visual C++
public:
virtual int CompareTo(
	CollectionAction^ other
)

Parameters

other
Type: NHibernate.Action..::..CollectionAction
An object to compare with this object.

Return Value

A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter.Zero This object is equal to other. Greater than zero This object is greater than other.

Implements

IComparable<(Of <(<'T>)>)>..::..CompareTo(T)

See Also