Extensions.Get<T>(IBotDataBag, String) 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.
Caution
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
Type Parameters
- T
Parameters
- bag
- IBotDataBag
- key
- String
Returns
T
- Attributes