หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Inherits BaseObservable
Implements IFormContent
The FormContent class is used to create a form within the Command Palette. It provides properties and methods to manage the form's data, state, and template.
Properties
| Property | Type | Description |
|---|---|---|
| DataJson | String | The JSON representation of the form's data. |
| StateJson | String | The JSON representation of the form's state. |
| TemplateJson | String | The JSON representation of the form's template. |
Methods
| Method | Description |
|---|---|
| SubmitForm(String) | Submits the form with the specified JSON data. |
| SubmitForm(String, String) | Submits the form with the specified JSON data and state. |
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา
Windows developer