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

備註

這是唯讀的屬性。

適用於

另請參閱