ReadHostCommand Constructor

Creates a new instance of the ReadHostCommand class. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)

Dim instance As New ReadHostCommand

public ReadHostCommand ()
public ReadHostCommand ()
public function ReadHostCommand ()

This cmdlet reads a line of input from the console. For more information about this cmdlet, see Read-Host in the Microsoft TechNet Library.

For Help at the command line, type:

get-help read-host


Target Platforms