Sprog

IActivity.WithValue Method

Definition

Overloads

Name Description
WithValue(Object)

Sets Value and returns this activity.

WithValue(Object, String)

Sets both Value and ValueType and returns this activity.

WithValue(Object)

Sets Value and returns this activity.

public Microsoft.Agents.Core.Models.IActivity WithValue(object value);
abstract member WithValue : obj -> Microsoft.Agents.Core.Models.IActivity
Public Function WithValue (value As Object) As IActivity

Parameters

value
Object

Returns

Applies to

WithValue(Object, String)

Sets both Value and ValueType and returns this activity.

public Microsoft.Agents.Core.Models.IActivity WithValue(object value, string valueType);
abstract member WithValue : obj * string -> Microsoft.Agents.Core.Models.IActivity
Public Function WithValue (value As Object, valueType As String) As IActivity

Parameters

value
Object
valueType
String

Returns

Applies to