Skip to main content

ToastNotificationCollection.TryGetValue(Object, out IToastNotificationProperties) Method

Tests whether an element with a target ID and properties currently exists.

Namespace: DevExpress.XtraBars.ToastNotifications

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public bool TryGetValue(
    object id,
    out IToastNotificationProperties element
)

Parameters

Name Type Description
id Object

An Object that is the element ID.

element IToastNotificationProperties

An IToastNotificationProperties object that is the element’s set of properties.

Returns

Type Description
Boolean

true if an element with target ID and properties currently exists; otherwise, false.

See Also