Share via


MatchInfo Constructors

Definition

Overloads

MatchInfo()

Initializes a new instance of the MatchInfo class with emphasis disabled.

MatchInfo(IReadOnlyList<Int32>, IReadOnlyList<Int32>)

Initializes a new instance of the MatchInfo class with emphasized matched text. Used when virtual terminal sequences are supported.

MatchInfo()

Initializes a new instance of the MatchInfo class with emphasis disabled.

public:
 MatchInfo();
public:
 MatchInfo();
 MatchInfo();
public MatchInfo ();
Public Sub New ()

Applies to

MatchInfo(IReadOnlyList<Int32>, IReadOnlyList<Int32>)

Initializes a new instance of the MatchInfo class with emphasized matched text. Used when virtual terminal sequences are supported.

public MatchInfo (System.Collections.Generic.IReadOnlyList<int> matchIndexes, System.Collections.Generic.IReadOnlyList<int> matchLengths);
new Microsoft.PowerShell.Commands.MatchInfo : System.Collections.Generic.IReadOnlyList<int> * System.Collections.Generic.IReadOnlyList<int> -> Microsoft.PowerShell.Commands.MatchInfo
Public Sub New (matchIndexes As IReadOnlyList(Of Integer), matchLengths As IReadOnlyList(Of Integer))

Parameters

matchIndexes
IReadOnlyList<Int32>

Sets the matchIndexes.

matchLengths
IReadOnlyList<Int32>

Sets the matchLengths.

Applies to