StringDecorated.ToString Method
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.
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.