語言

FileNotFoundException.FileName 屬性

定義

會取得找不到的檔案名稱。

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

屬性值

檔案名稱,或 null 是如果此實例中沒有傳給建構者,則是檔案名稱。

備註

這個屬性是唯讀的。

適用於

另請參閱