IBotDataBag.SetValue<T>(String, T) 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.
Adds the specified key and value to the bot data bag.
public void SetValue<T> (string key, T value);
abstract member SetValue : string * 'T -> unit
Public Sub SetValue(Of T) (key As String, value As T)
Type Parameters
- T
The type of the value to get.
Parameters
- key
- String
The key of the element to add.
- value
- T
The value of the element to add. The value can be null for reference types.