Edit

Share via


ToastButton.SetContent(String) Method

Definition

Sets the text to display on the button.

public Microsoft.Toolkit.Uwp.Notifications.ToastButton SetContent(string content);
member this.SetContent : string -> Microsoft.Toolkit.Uwp.Notifications.ToastButton
Public Function SetContent (content As String) As ToastButton

Parameters

content
String

The text to display on the button.

Returns

The current instance of the ToastButton.

Applies to