共用方式為


MatchInfo.ToEmphasizedString(String) Method

Definition

Returns the string representation of the match object same format as ToString() and inverts the color of the matched text if virtual terminal is supported.

public string ToEmphasizedString (string directory);
member this.ToEmphasizedString : string -> string
Public Function ToEmphasizedString (directory As String) As String

Parameters

directory
String

Directory to use as the root when calculating the relative path.

Returns

The string representation of the match object with matched text inverted.

Applies to