Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.07 KB

File metadata and controls

21 lines (14 loc) · 1.07 KB
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
PowerToys
Windows
Insider

ICommandProvider.InitializeWithHost(IExtensionHost) Method

Definition

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.

Parameters

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.