Language

TeamsActivity.ToJson Method

Definition

Overrides the ToJson method to serialize the TeamsActivity object to a JSON string. Uses the appropriate JSON type info based on the actual runtime type.

public override string ToJson();
override this.ToJson : unit -> string
Public Overrides Function ToJson () As String

Returns

A JSON string representation of the activity using the type-specific serializer.

Applies to