Interface

# DataNotifier

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

The <span class="title-ref">DataNotifier</span> interface is implemented by `CheckBox</api/user_interface/desktop/desktopcheckbox>`. A <span class="title-ref">DataNotifier</span> object calls the DataChanged method of each `DataNotificationReceiver</api/language/datanotificationreceiver>` registered with it.

## Methods

<div class="rst-class">

table-centered_column_4

</div>

| Name                                                                          | Parameters                                                                     | Returns | Shared |
|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------|---------|--------|
| `AddDataNotificationReceiver<datanotifier.adddatanotificationreceiver>`       | receiver As `DataNotificationReceiver</api/language/datanotificationreceiver>` |         |        |
| `RemoveDataNotificationReceiver<datanotifier.removedatanotificationreceiver>` | receiver As `DataNotificationReceiver</api/language/datanotificationreceiver>` |         |        |

## Method descriptions

<div id="datanotifier.adddatanotificationreceiver">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

DataNotifier.AddDataNotificationReceiver

**AddDataNotificationReceiver**(receiver As `DataNotificationReceiver</api/language/datanotificationreceiver>`)

> Registers a DataNotificationReceiver.

<div id="datanotifier.removedatanotificationreceiver">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

DataNotifier.RemoveDataNotificationReceiver

**RemoveDataNotificationReceiver**(receiver As `DataNotificationReceiver</api/language/datanotificationreceiver>`)

> Removes a DataNotificationReceiver.

## Notes

If you implement this interface in your application, you must implement the methods with the parameters as shown here.

## Compatibility

|                       |                       |
|-----------------------|-----------------------|
| **Project Types**     | Console, Desktop, Web |
| **Operating Systems** | All                   |

<div class="seealso">

`DataNotificationReceiver</api/language/datanotificationreceiver>`

</div>
