共用方式為


FolderResourceProviderExtensions.AddFolder 方法

定義

新增資料夾資源。

public static Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer AddFolder (this Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer explorer, string folder, bool includeSubFolders = true, bool monitorChanges = true);
static member AddFolder : Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer * string * bool * bool -> Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer
<Extension()>
Public Function AddFolder (explorer As ResourceExplorer, folder As String, Optional includeSubFolders As Boolean = true, Optional monitorChanges As Boolean = true) As ResourceExplorer

參數

explorer
ResourceExplorer

ResourceExplorer這個擴充方法的 。

folder
String

要包含為資源的資料夾。

includeSubFolders
Boolean

是否包含子資料夾。

monitorChanges
Boolean

是否追蹤變更。

傳回

資源總管。

適用於