Megosztás a következőn keresztül:


FilePatternMatch.Stem Property

Definition

Gets the subpath to the matched file, relative to the first wildcard in the matching search pattern.

public:
 property System::String ^ Stem { System::String ^ get(); };
public string? Stem { get; }
member this.Stem : string
Public ReadOnly Property Stem As String

Property Value

Remarks

If the matcher searched for "src/Project/**/*.cs" and the pattern matcher found "src/Project/Interfaces/IFile.cs", then Stem = "Interfaces/IFile.cs" and Path = "src/Project/Interfaces/IFile.cs".

Applies to