Share via


ScheduledToastNotification.MaximumSnoozeCount Property

Definition

Gets the maximum number of times to display this notification.

public:
 property unsigned int MaximumSnoozeCount { unsigned int get(); };
uint32_t MaximumSnoozeCount();
public uint MaximumSnoozeCount { get; }
var uInt32 = scheduledToastNotification.maximumSnoozeCount;
Public ReadOnly Property MaximumSnoozeCount As UInteger

Property Value

UInt32

unsigned int

uint32_t

The maximum number of times to display this notification. This will be a value between 1 and 5, inclusive.

Remarks

Note that this is the number of repeat showings specified when the ScheduledToastNotification is created. It is not the number of showings remaining if the toast has already been shown. There is no method to directly retrieve that information.

Applies to

See also