Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Determines whether an extension is installed in any ExtensionsRoot directory.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'Declaration
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
extension
Type: Microsoft.VisualStudio.ExtensionManager.IExtensionThe extension to query for.
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.