FileNotFoundException.FileName Property


Gets the name of the file that cannot be found.

 property System::String ^ FileName { System::String ^ 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.


This property is read-only.

Applies to

See also