Cmdlet
Add-OfficeWordDropDownList
Adds a dropdown list content control to the current paragraph.
Syntax
Add-OfficeWordDropDownList
[-Alias <String>]
[-Items] <String[]>
[-Paragraph <WordParagraph>]
[-PassThru]
[-Tag <String>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Add a dropdown list.
Add-OfficeWordParagraph { Add-OfficeWordDropDownList -Items 'Low','Medium','High' -Alias 'Priority' }Creates a dropdown list control with the supplied items.
Parameters
- -Alias String
- Optional alias for the control.
- -Items String[]
- Items to include in the dropdown list.
- -Paragraph WordParagraph
- Explicit paragraph to receive the control.
- -PassThru SwitchParameter
- Emit the created control.
- -Tag String
- Optional tag for the control.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.