FormatViewDefinition Constructor (String, PSControl)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Initializes a new instance of the FormatViewDefinition class. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public FormatViewDefinition(
	string name,
	PSControl control
)

Parameters

name
Type: System.String

The name of the formatting view as defined in the format file.

control
Type: System.Management.Automation.PSControl

The type of the control element for the formatting view, such as a list or table control.

Return to top

Community Additions

ADD
Show: