AdaptiveDialog.FindDialog(String, DialogContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds a child dialog that was previously added to the container. Uses DialogContext as fallback to gather the dialog from the ResourceExplorer.
public override Microsoft.Bot.Builder.Dialogs.Dialog FindDialog (string dialogId, Microsoft.Bot.Builder.Dialogs.DialogContext dc = default);
override this.FindDialog : string * Microsoft.Bot.Builder.Dialogs.DialogContext -> Microsoft.Bot.Builder.Dialogs.Dialog
Public Overrides Function FindDialog (dialogId As String, Optional dc As DialogContext = Nothing) As Dialog
Parameters
- dialogId
- String
The ID of the dialog to lookup.
The dialog context where to find the dialog.
Returns
The Dialog if found; otherwise null.
Remarks
When the Dialog is gathered from the ResourceExplorer, automatically will be loaded into the Dialogs stack.