共用方式為


PSStyle.FormatHyperlink(String, Uri) Method

Definition

Gets ANSI representation of a hyperlink.

public string FormatHyperlink (string text, Uri link);
member this.FormatHyperlink : string * Uri -> string
Public Function FormatHyperlink (text As String, link As Uri) As String

Parameters

text
String

Text describing the link.

link
Uri

A valid hyperlink.

Returns

String representing ANSI code for the hyperlink.

Applies to