FileNotFoundException.FileName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the file that cannot be found.
public:
property System::String ^ FileName { System::String ^ get(); };
public string FileName { get; }
public string? FileName { get; }
member this.FileName : string
Public ReadOnly Property FileName As String
Property Value
The name of the file, or null
if no file name was passed to the constructor for this instance.
Remarks
This property is read-only.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.