Partager via


IVsExtensionManager.IsInstalled Method

Determines whether an extension is installed in any ExtensionsRoot directory.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'Déclaration
Function IsInstalled ( _
    extension As IExtension _
) As Boolean
bool IsInstalled(
    IExtension extension
)
bool IsInstalled(
    IExtension^ extension
)
abstract IsInstalled : 
        extension:IExtension -> bool 
function IsInstalled(
    extension : IExtension
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the extension is installed; otherwise, false.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

.NET Framework Security

See Also

Reference

IVsExtensionManager Interface

Microsoft.VisualStudio.ExtensionManager Namespace