Export (0) Print
Expand All

WriteHostCommand.NoNewline Property

Gets and sets the value of the NoNewLine parameter of the Write-Host cmdlet.

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

Dim instance As WriteHostCommand
Dim value As SwitchParameter

value = instance.NoNewline

instance.NoNewline = value

public SwitchParameter NoNewline { get; set; }
/** @property */
public SwitchParameter get_NoNewline ()

/** @property */
public void set_NoNewline (SwitchParameter value)

public function get NoNewline () : SwitchParameter

public function set NoNewline (value : SwitchParameter)

Property Value

When the parameter is specified, the content that is displayed by the cmdlet does not end with a newline character.

This topic is included in this SDK for completeness only. For more information about this cmdlet, see Write-Host in the Microsoft TechNet Library.

For Help at the command line, type:

get-help write-host

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

Windows Developer Preview, Windows Server Developer Preview

© 2014 Microsoft