Share via


ToastNotificationManagerForUser.GetToastCollectionManager Method

Definition

Overloads

GetToastCollectionManager()

Creates a ToastCollectionManager that you can use to save, update, and clear notification groups for the current app.

GetToastCollectionManager(String)

Creates a ToastCollectionManager that you can use to save, update, and clear notification groups for the specified app.

GetToastCollectionManager()

Creates a ToastCollectionManager that you can use to save, update, and clear notification groups for the current app.

public:
 virtual ToastCollectionManager ^ GetToastCollectionManager() = GetToastCollectionManager;
/// [Windows.Foundation.Metadata.Overload("GetToastCollectionManager")]
ToastCollectionManager GetToastCollectionManager();
[Windows.Foundation.Metadata.Overload("GetToastCollectionManager")]
public ToastCollectionManager GetToastCollectionManager();
function getToastCollectionManager()
Public Function GetToastCollectionManager () As ToastCollectionManager

Returns

An object you can use to save, update, and clear notification groups.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

GetToastCollectionManager(String)

Creates a ToastCollectionManager that you can use to save, update, and clear notification groups for the specified app.

public:
 virtual ToastCollectionManager ^ GetToastCollectionManager(Platform::String ^ appId) = GetToastCollectionManager;
/// [Windows.Foundation.Metadata.Overload("GetToastCollectionManagerWithAppId")]
ToastCollectionManager GetToastCollectionManager(winrt::hstring const& appId);
[Windows.Foundation.Metadata.Overload("GetToastCollectionManagerWithAppId")]
public ToastCollectionManager GetToastCollectionManager(string appId);
function getToastCollectionManager(appId)
Public Function GetToastCollectionManager (appId As String) As ToastCollectionManager

Parameters

appId
String

Platform::String

winrt::hstring

The ID of the app whose notification groups you want to manipulate.

Returns

An object you can use to save, update, and clear notification groups.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to