Dela via


AdaptiveDialog.FindDialog(String, DialogContext) Metod

Definition

Söker efter en underordnad dialogruta som tidigare har lagts till i containern. Använder DialogContext som reserv för att samla in dialogrutan från 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

Parametrar

dialogId
String

ID:t för dialogrutan som ska sökas upp.

dc
DialogContext

Dialogkontexten där du hittar dialogrutan.

Returer

Dialogrutan om den hittas. annars null.

Kommentarer

När dialogrutan samlas in från ResourceExplorerläses automatiskt in i stacken Dialogs .

Gäller för