語言

FilePatternMatch(String, String) 建構函式

定義

初始化新的實例 FilePatternMatch。

public:
 FilePatternMatch(System::String ^ path, System::String ^ stem);
public FilePatternMatch(string path, string stem);
new Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch : string * string -> Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch
Public Sub New (path As String, stem As String)

參數

path
String

檔案路徑相對於匹配搜尋模式的起點是匹配的。

stem
String

檔案的子路徑相較於匹配搜尋模式中的第一個通配符。

適用於