FileNotFoundException.FileName Property

Definition

Gets the name of the file that cannot be found.

public string FileName { get; }
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.