The object returned by select-string representing the result of a match.
public ref class MatchInfo
[Windows::Foundation::Metadata::WebHostHidden] class MatchInfo
public class MatchInfo
type MatchInfo = class
Public Class MatchInfo
The context for the match, or null if -context was not specified.
Returns the base name of the file containing the matching line.
Indicates if the match was done ignoring case.
Returns the text of the matching line.
Returns the number of the matching line.
A list of all Regex matches on the matching line.
The full path of the file containing the matching line.
Returns the pattern that was used in the match.
Returns the path of the matching file truncated relative to the
Returns the string representation of this object. The format
depends on whether a path has been set for this object or not.
Returns the string representation of the match object same format as ToString()
but trims the path to be relative to the