語言

FileDialogCustomPlace 建構函式

定義

初始化 FileDialogCustomPlace 類別的新執行個體。

多載

名稱 Description
FileDialogCustomPlace(Guid)

初始化一個新的類別實例 FileDialogCustomPlace ,使用指定的已知資料夾 GUID。

FileDialogCustomPlace(String)

初始化該類別的新實例 FileDialogCustomPlace ,並使用指定的路徑。

FileDialogCustomPlace(Guid)

初始化一個新的類別實例 FileDialogCustomPlace ,使用指定的已知資料夾 GUID。

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

資料夾的路徑。

適用於