Bagikan melalui


MatcherExtensions.GetResultsInFullPath(Matcher, String) Metode

Definisi

Mencari direktori yang ditentukan untuk semua pola pencocokan file yang ditambahkan ke instans ini .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)

Parameter

matcher
Matcher

Pencocok.

directoryPath
String

Direktori akar untuk pencarian.

Mengembalikan

Jalur file absolut dari semua file yang cocok. Kosong dapat dijumlahkan jika tidak ada file yang cocok dengan pola yang diberikan.

Berlaku untuk