Skip to main content
.NET Framework 4.5.2+

BoolList.Equals(Object) Method

Determines whether the specified object is equal to the current BoolList.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v22.1.dll


public override bool Equals(
    object obj


Name Type Description
obj Object

An object that can be cast to the System.Boolean type, to compare to the current BoolList.


Type Description

true, if the specified object’s Boolean value equals the current BoolList‘s BoolList.ResultValue; otherwise, false.


Generally, you do not need to call this method. The BoolList class overrides this method, to allow you to use instances of the BoolList class in Boolean expressions, and compare such instances directly to Boolean values. The following code snippet illustrates this.

BoolList myList = new BoolList();
myList["myKey"] = true;
if(myList) {
See Also