external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.PowerShell.EditorServices.VSCode.dll-Help.xml |
PowerShellEditorServices.VSCode |
2.0.0 |
Creates a custom view in Visual Studio Code which displays HTML content.
New-VSCodeHtmlContentView [-Title] <String> [[-ShowInColumn] <ViewColumn>] [<CommonParameters>]
Creates a custom view in Visual Studio Code which displays HTML content.
$htmlContentView = New-VSCodeHtmlContentView -Title "My Custom View"
Create a new view called "My Custom View".
$htmlContentView = New-VSCodeHtmlContentView -Title "My Custom View" -ShowInColumn Two
Create a new view and show it in the second view column.
If specified, causes the new view to be displayed in the specified column. If unspecified, the Show-VSCodeHtmlContentView cmdlet will need to be used to display the view.
Type: ViewColumn
Parameter Sets: (All)
Aliases:
Accepted values: One, Two, Three
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The title of the view.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.