FileDialogCustomPlace 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 FileDialogCustomPlace 類別的新執行個體。
多載
FileDialogCustomPlace(Guid) |
使用指定的已知資料夾 GUID,初始化 FileDialogCustomPlace 類別的新執行個體。 |
FileDialogCustomPlace(String) |
使用指定的路徑來初始化 FileDialogCustomPlace 類別的新執行個體。 |
FileDialogCustomPlace(Guid)
使用指定的已知資料夾 GUID,初始化 FileDialogCustomPlace 類別的新執行個體。
public:
FileDialogCustomPlace(Guid knownFolder);
public FileDialogCustomPlace (Guid knownFolder);
new Microsoft.Win32.FileDialogCustomPlace : Guid -> Microsoft.Win32.FileDialogCustomPlace
Public Sub New (knownFolder As Guid)
參數
- knownFolder
- Guid
已知資料夾的 GUID。
備註
您可以從 Windows SDK 中包含的 KnownFolders.h 檔案取得 GUID。 應用程式也可以註冊新的 GUID。
適用於
FileDialogCustomPlace(String)
使用指定的路徑來初始化 FileDialogCustomPlace 類別的新執行個體。
public:
FileDialogCustomPlace(System::String ^ path);
public FileDialogCustomPlace (string path);
new Microsoft.Win32.FileDialogCustomPlace : string -> Microsoft.Win32.FileDialogCustomPlace
Public Sub New (path As String)
參數
- path
- String
資料夾的路徑。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應