M_WolfCurses_Form_Form_1_Compare - Maxwolf/WolfCurses GitHub Wiki

Form(TData).Compare Method (Form(TData), Form(TData))

When overridden in a derived class, performs a comparison of two objects of the same type and returns a value indicating whether one object is less than, equal to, or greater than the other.

Namespace: WolfCurses.Form
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public override int Compare(
	Form<TData> x,
	Form<TData> y
)

Parameters

 

x
Type: WolfCurses.Form.Form(TData)
The first object to compare.
y
Type: WolfCurses.Form.Form(TData)
The second object to compare.

Return Value

Type: Int32
A signed integer that indicates the relative values of x and y, as shown in the following table.Value Meaning Less than zero x is less than y.Zero x equals y.Greater than zero x is greater than y.

Implements

IComparer(T).Compare(T, T)

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

Form(TData) Class
Compare Overload
WolfCurses.Form Namespace

⚠️ **GitHub.com Fallback** ⚠️