BadImageFormatException.FileName Proprietà
Definizione
Ottiene il nome del file che ha causato questa eccezione.Gets the name of the file that causes this exception.
public:
property System::String ^ FileName { System::String ^ get(); };
public string FileName { get; }
member this.FileName : string
Public ReadOnly Property FileName As String
Valore della proprietà
Nome del file con l'immagine non valida oppure un riferimento Null se nessun nome di file è stato passato al costruttore per l'istanza corrente.The name of the file with the invalid image, or a null reference if no file name was passed to the constructor for the current instance.
Commenti
Questa proprietà restituisce il nome del file fornito al costruttore per l'istanza corrente, se presente.This property returns the name of the file supplied to the constructor for the current instance, if any. Se il nome file non è stato specificato o è un riferimento null ( Nothing
in Visual Basic), questa proprietà restituisce un riferimento null.If the file name was not specified or is a null reference (Nothing
in Visual Basic), this property returns a null reference.
Questa proprietà è di sola lettura.This property is read-only.