New-UDAutocompleteOption
Synopsis
Creates a new autocomplete option.
Syntax
New-UDAutocompleteOption [-Name] <String> [-Value] <String> [[-Group] <String>] [<CommonParameters>]Description
Creates a new autocomplete option. This cmdlet is to be used with New-UDAutocomplete. Pass the result of this cmdlet to the -Options parameter to create a new option.
Parameters
-Name
The name of the autocomplete option. This will be shown in the autocomplete.
Required? true
Position? 1
Default value
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Value
The value of the autocomplete option. This will be passed back to New-UDForm -OnSubmit or the $EventData for -OnChange on New-UDAutocomplete.
-Group
The group to which this option belongs. This is used to group options in the autocomplete dropdown.
Common parameters
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
Last updated
Was this helpful?