NotificationProvider Xojo Plugin |

# DesktopNotificationProvider.Remove Method

Removes notification by reference object.

Remove(
reference as WeakRef)

#### Parameters

reference
  Weak reference to a reference object.

#### Remarks

A reference object is object relating to the notification. For example if you have text box on the screen which you want to validate by putting notification on the screen, like “This email is not valid” and you want to ensure the text box only ever emits one notification as in clears previous notification then its good to use the text box as reference object as then the NotificationProvider will automatically clear previous notification with same reference object before posting new.

#### See Also

DesktopNotificationProvider Control