ToastContentBuilder.AddVisualChild(IToastBindingGenericChild) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a visual element to the toast.
public Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder AddVisualChild (Microsoft.Toolkit.Uwp.Notifications.IToastBindingGenericChild child);
member this.AddVisualChild : Microsoft.Toolkit.Uwp.Notifications.IToastBindingGenericChild -> Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder
Public Function AddVisualChild (child As IToastBindingGenericChild) As ToastContentBuilder
Parameters
An instance of a class that implement IToastBindingGenericChild.
Returns
The current instance of ToastContentBuilder