Activity.AsCommandActivity 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.
Returns this activity as an ICommandActivity object; or null, if this is not that type of activity.
public Microsoft.Bot.Schema.ICommandActivity AsCommandActivity ();
member this.AsCommandActivity : unit -> Microsoft.Bot.Schema.ICommandActivity
Public Function AsCommandActivity () As ICommandActivity
Returns
This activity as a command activity; or null.