Share via


FolderResourceProviderExtensions.AddFolder Method

Definition

Add a folder resource.

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

Parameters

explorer
ResourceExplorer

The ResourceExplorer for this extension method.

folder
String

Folder to include as a resource.

includeSubFolders
Boolean

Whether to include subfolders.

monitorChanges
Boolean

Whether to track changes.

Returns

The resource explorer.

Applies to