TempFileCollection.BasePath 屬性

定義

在暫存檔目錄中,取得主檔名 (沒有副檔名) 的完整路徑,用於產生集合的暫存檔名。

public:
 property System::String ^ BasePath { System::String ^ get(); };
public string BasePath { get; }
member this.BasePath : string
Public ReadOnly Property BasePath As String

屬性值

在暫存目錄路徑中,主檔名 (沒有副檔名) 的完整路徑用於產生集合的暫存檔名。

例外狀況

若未設定 BasePath 屬性或將其設為 null,且未按 AllAccess 屬性的指示將 TempDir 授與暫存目錄。

適用於