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
搜索的根目录。
匹配的所有文件的绝对文件路径。 如果没有与给定模式匹配的文件,则可为空枚举。
产品 | 版本 |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |