MatcherExtensions.GetResultsInFullPath(Matcher, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為新增至此 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
搜尋的根目錄。
傳回
所有相符檔案的絕對檔案路徑。 如果沒有符合指定模式的檔案,則為空的可列舉項目。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應