共用方式為


Launcher.LaunchFolderAsync 方法

定義

多載

LaunchFolderAsync(IStorageFolder)

啟動檔案總管並顯示指定資料夾的內容。

LaunchFolderAsync(IStorageFolder, FolderLauncherOptions)

使用指定的選項啟動檔案總管,並顯示指定資料夾的內容。

LaunchFolderAsync(IStorageFolder)

啟動檔案總管並顯示指定資料夾的內容。

public:
 static IAsyncOperation<bool> ^ LaunchFolderAsync(IStorageFolder ^ folder);
/// [Windows.Foundation.Metadata.Overload("LaunchFolderAsync")]
 static IAsyncOperation<bool> LaunchFolderAsync(IStorageFolder const& folder);
[Windows.Foundation.Metadata.Overload("LaunchFolderAsync")]
public static IAsyncOperation<bool> LaunchFolderAsync(IStorageFolder folder);
function launchFolderAsync(folder)
Public Shared Function LaunchFolderAsync (folder As IStorageFolder) As IAsyncOperation(Of Boolean)

參數

folder
IStorageFolder

要顯示在 檔案總管 的資料夾。

傳回

運算的結果。

屬性

備註

您必須從 ASTA 執行緒內呼叫此 API, (也稱為 UI 執行緒) 。

另請參閱

適用於

LaunchFolderAsync(IStorageFolder, FolderLauncherOptions)

使用指定的選項啟動檔案總管,並顯示指定資料夾的內容。

public:
 static IAsyncOperation<bool> ^ LaunchFolderAsync(IStorageFolder ^ folder, FolderLauncherOptions ^ options);
/// [Windows.Foundation.Metadata.Overload("LaunchFolderWithOptionsAsync")]
 static IAsyncOperation<bool> LaunchFolderAsync(IStorageFolder const& folder, FolderLauncherOptions const& options);
[Windows.Foundation.Metadata.Overload("LaunchFolderWithOptionsAsync")]
public static IAsyncOperation<bool> LaunchFolderAsync(IStorageFolder folder, FolderLauncherOptions options);
function launchFolderAsync(folder, options)
Public Shared Function LaunchFolderAsync (folder As IStorageFolder, options As FolderLauncherOptions) As IAsyncOperation(Of Boolean)

參數

folder
IStorageFolder

要顯示在 檔案總管 的資料夾。

options
FolderLauncherOptions

指定檔案總管填滿螢幕空間數量的選項,以及要選取在指定資料夾中的專案清單。

傳回

運算的結果。

屬性

備註

您必須從 ASTA 執行緒內呼叫此 API, (也稱為 UI 執行緒) 。

另請參閱

適用於