共用方式為


FolderResourceProviderExtensions.AddFolders 方法

定義

新增資料夾資源。

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

參數

explorer
ResourceExplorer

ResourceExplorer這個擴充方法的 。

folder
String

要包含為資源的資料夾集合。

ignoreFolders
String[]

要忽略的立即子資料夾。

monitorChanges
Boolean

是否追蹤變更。

傳回

資源總管。

適用於