.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

BoolList.Equals(Object) Method

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

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v20.2.dll


public override bool Equals(
    object obj
Public Overrides Function Equals(
    obj As Object
) As Boolean


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