FileNotFoundException.FileName FileNotFoundException.FileName FileNotFoundException.FileName FileNotFoundException.FileName Property

Definition

Gets the name of the file that cannot be found.

public:
 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.

Remarks

This property is read-only.

Applies to

See also