| title | ICommandProvider.InitializeWithHost(IExtensionHost) Method | |||
|---|---|---|---|---|
| description | The InitializeWithHost method is called when the extension is loaded. This method is used to initialize the extension with the host application. | |||
| ms.date | 2/7/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions
The InitializeWithHost method is called when the extension is loaded. This method is used to initialize the extension with the host application. The host application provides the extension with a reference to the IExtensionHost interface, which allows the extension to interact with the host application.
host IExtensionHost
The host application that is loading the extension. The host application provides the extension with a reference to the IExtensionHost interface, which allows the extension to interact with the host application.