FileNotFoundException.FileName Proprietà

Definizione

Ottiene il nome del file che non è possibile trovare.

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

Valore della proprietà

String

Nome del file o null se non è stato passato alcun nome file al costruttore per l'istanza.

Commenti

Questa proprietà è di sola lettura.

Si applica a

Vedi anche