共用方式為


MatchInfo.Filename Property

Definition

Gets the base name of the file containing the matching line.

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

Property Value

The file name.

Remarks

It will be the string "InputStream" if the object came from the input stream. This is a readonly property calculated from the path Path.

Applies to