ToastContentBuilder.AddAttributionText Method

Definition

Overloads

AddAttributionText(String)

Add an Attribution Text to be displayed on the toast.

AddAttributionText(String, String)

Add an Attribution Text to be displayed on the toast.

AddAttributionText(String)

Add an Attribution Text to be displayed on the toast.

public Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder AddAttributionText (string text);
member this.AddAttributionText : string -> Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder
Public Function AddAttributionText (text As String) As ToastContentBuilder

Parameters

text
String

Text to be displayed as Attribution Text

Returns

The current instance of ToastContentBuilder

Applies to

AddAttributionText(String, String)

Add an Attribution Text to be displayed on the toast.

public Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder AddAttributionText (string text, string language = default);
public Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder AddAttributionText (string text, string language);
member this.AddAttributionText : string * string -> Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder
Public Function AddAttributionText (text As String, Optional language As String = Nothing) As ToastContentBuilder
Public Function AddAttributionText (text As String, language As String) As ToastContentBuilder

Parameters

text
String

Text to be displayed as Attribution Text

language
String

The target locale of the XML payload, specified as a BCP-47 language tags such as "en-US" or "fr-FR".

Returns

The current instance of ToastContentBuilder

Applies to