共用方式為


Prompt<T,U>.TryParse(IMessageActivity, T) 方法

定義

protected internal abstract bool TryParse (Microsoft.Bot.Connector.IMessageActivity message, out T result);
abstract member TryParse : Microsoft.Bot.Connector.IMessageActivity * 'T -> bool
Protected Friend MustOverride Function TryParse (message As IMessageActivity, ByRef result As T) As Boolean

參數

result
T

傳回

適用於