Споделяне чрез


MatcherExtensions.GetResultsInFullPath(Matcher, String) Method

Definition

Searches the specified directory for all files matching patterns added to this instance of Matcher.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<System::String ^> ^ GetResultsInFullPath(Microsoft::Extensions::FileSystemGlobbing::Matcher ^ matcher, System::String ^ directoryPath);
public static System.Collections.Generic.IEnumerable<string> GetResultsInFullPath (this Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, string directoryPath);
static member GetResultsInFullPath : Microsoft.Extensions.FileSystemGlobbing.Matcher * string -> seq<string>
<Extension()>
Public Function GetResultsInFullPath (matcher As Matcher, directoryPath As String) As IEnumerable(Of String)

Parameters

matcher
Matcher

The matcher.

directoryPath
String

The root directory for the search.

Returns

Absolute file paths of all files matched. Empty enumerable if no files matched given patterns.

Applies to