HostInformationMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class that holds informational messages to represent output created by the Write-Host cmdlet.
public ref class HostInformationMessage
public class HostInformationMessage
type HostInformationMessage = class
Public Class HostInformationMessage
- Inheritance
-
HostInformationMessage
Constructors
HostInformationMessage() |
Properties
BackgroundColor |
The background color of the message. |
ForegroundColor |
The foreground color of the message. |
Message |
The message being output by the host. |
NoNewLine |
'True' if the host should not append a NewLine to the message output. |
Methods
ToString() |
Returns a string-based representation of the host information message. |