Share via


MatcherExtensions.GetResultsInFullPath(Matcher, String) 方法

定義

為新增至此 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)

參數

matcher
Matcher

比對器。

directoryPath
String

搜尋的根目錄。

傳回

所有相符檔案的絕對檔案路徑。 如果沒有符合指定模式的檔案,則為空的可列舉項目。

適用於