FilePatternMatch(String, String) 建構函式

定義

初始化 的新實例 FilePatternMatch

public:
 FilePatternMatch(System::String ^ path, System::String ^ stem);
public FilePatternMatch (string path, 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

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

適用於