Share via


StringDecorated.ToString Method

Definition

Overloads

ToString()

Render the decorarted string using automatic output rendering.

ToString(OutputRendering)

Return string representation of content depending on output rendering mode.

ToString()

Render the decorarted string using automatic output rendering.

public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

Rendered string based on automatic output rendering.

Applies to

ToString(OutputRendering)

Return string representation of content depending on output rendering mode.

public string ToString (System.Management.Automation.OutputRendering outputRendering);
override this.ToString : System.Management.Automation.OutputRendering -> string
Public Function ToString (outputRendering As OutputRendering) As String

Parameters

outputRendering
OutputRendering

Specify how to render the text content.

Returns

Rendered string based on outputRendering.

Applies to