TeamsActivity.ToJson 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.
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.