共用方式為


Extensions.Get<T>(IBotDataBag, String) 方法

定義

警告

Use GetValue<T> instead

[System.Obsolete("Use GetValue<T> instead", false)]
public static T Get<T> (this Microsoft.Bot.Builder.Dialogs.IBotDataBag bag, string key);
[<System.Obsolete("Use GetValue<T> instead", false)>]
static member Get : Microsoft.Bot.Builder.Dialogs.IBotDataBag * string -> 'T
<Extension()>
Public Function Get(Of T) (bag As IBotDataBag, key As String) As T

類型參數

T

參數

key
String

傳回

T
屬性

適用於