Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BoolList.Equals(Object) Method

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

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public override bool Equals(
    object obj
)

#Parameters

Name Type Description
obj Object

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

#Returns

Type Description
Boolean

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

#Remarks

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