GetAutoInsertExtensions method

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets information about the apps for Office that are to be automatically inserted during debugging.

This method is reserved for future use.

Syntax

HRESULT GetAutoInsertExtensions(
    [out, retval] SAFEARRAY(BSTR)* psaExtensionNames
);

Parameters

Parameter Description
psaExtensionNames The extension names of the apps for Office.

Return value

An HRESULT value that indicates whether the method completed successfully.

Remarks

Each app for Office to be inserted is returned as an Office application extension name, which corresponds to a value under HKEY_CURRENT_USER\Software\Microsoft\Office\WEF\Developer. The host must look up these values in the registry and then automatically insert the extensions.