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
'宣告
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.IExtension
The extension to query for.
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
- 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.