次の方法で共有


IConnectedWorkspaceService.OpenFolderAsync(String, CancellationToken) Method

Definition

Opens a folder pointed to by the given path. This is equivalent to "loading" the folder for use.

public System.Threading.Tasks.Task OpenFolderAsync (string relativePath, System.Threading.CancellationToken cancellationToken = default);
abstract member OpenFolderAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OpenFolderAsync (relativePath As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

relativePath
String

The relative path to the folder to open.

cancellationToken
CancellationToken

A cancellation token.

Returns

A task that represent the completion of opening the folder.

Applies to