New-BTContentBuilder

SYNOPSIS

Create a toast builder object.

SYNTAX

New-BTContentBuilder [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The New-BTContentBuilder function creates a new toast content builder object to construct a complete notification.

EXAMPLES

EXAMPLE 1

$Builder = New-BTContentBuilder
This example creates a new toast content builder object and storing it in a variable named $Builder.

EXAMPLE 2

$Builder = Builder
This example creates a new toast content builder object using the Builder alias and storing it in a variable named $Builder.

PARAMETERS

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

You cannot pipe objects to New-BTContentBuilder.

OUTPUTS

Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder

NOTES

RELATED LINKS

Copy link
Edit on GitHub
Outline
SYNOPSIS
SYNTAX
DESCRIPTION
EXAMPLES
EXAMPLE 1
EXAMPLE 2
PARAMETERS
-WhatIf
-Confirm
CommonParameters
INPUTS
None
OUTPUTS
Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder
NOTES
RELATED LINKS