BoolList.RemoveItem(String) Method
Removes a key/value pair with a particular key from the BoolList‘s collection.
Namespace: DevExpress.ExpressApp.Utils
Assembly: DevExpress.ExpressApp.v19.1.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
key | String | A string representing the key of the key/value pair that will be removed from the BoolList‘s collection. |
Remarks
The following code snippet illustrates use of the RemoveItem method:
BoolList mylist = new BoolList();
mylist["myKey"] = true;
mylist.RemoveItem("myKey");
//mylist.Contains("myKey") == false;
To get all keys from the BoolList‘s collection of key/value pairs, use the BoolList.GetKeys method. To check whether a particular key exists, use the BoolList.Contains method.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RemoveItem(String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.