Bridge

Boolean..::..CompareTo Method (Boolean)

Compares this instance to a specified Boolean object and returns an integer that indicates their relationship to one another.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public int CompareTo(
	bool other
)
<TemplateAttribute> _
Public Function CompareTo ( _
	other As Boolean _
) As Integer
[TemplateAttribute]
public:
int^ CompareTo(
	bool^ other
)

Parameters

other
Type: System..::..Boolean

Return Value

A signed integer that indicates the relative values of this instance and value.Return Value Condition Less than zero This instance is false and value is true. Zero This instance and value are equal (either both are true or both are false). Greater than zero This instance is true and value is false.