Skip to content

Latest commit

 

History

History
92 lines (61 loc) · 1.87 KB

File metadata and controls

92 lines (61 loc) · 1.87 KB
external help file Module Name online version schema
Microsoft.PowerShell.EditorServices.VSCode.dll-Help.xml
PowerShellEditorServices.VSCode
2.0.0

New-VSCodeHtmlContentView

SYNOPSIS

Creates a custom view in Visual Studio Code which displays HTML content.

SYNTAX

New-VSCodeHtmlContentView [-Title] <String> [[-ShowInColumn] <ViewColumn>] [<CommonParameters>]

DESCRIPTION

Creates a custom view in Visual Studio Code which displays HTML content.

EXAMPLES

Example 1

$htmlContentView = New-VSCodeHtmlContentView -Title "My Custom View"

Create a new view called "My Custom View".

Example 2

$htmlContentView = New-VSCodeHtmlContentView -Title "My Custom View" -ShowInColumn Two

Create a new view and show it in the second view column.

PARAMETERS

-ShowInColumn

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

-Title

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

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

OUTPUTS

Microsoft.PowerShell.EditorServices.VSCode.CustomViews.IHtmlContentView

NOTES

RELATED LINKS