Edit

Share via


IFormContent.SubmitForm(String) Method

Definition

Namespace: Microsoft.CommandPalette.Extensions

The SubmitForm method submits the form data. It is used to send the data entered in the form to the Command Palette for processing.

Parameters

payload String

The JSON representation of the data to be submitted. This data is typically collected from user input in the form fields.

Returns

An ICommandResult object that contains the result of the form submission.