IExtensionHeader.InstalledByMsi Property
Denotes whether the extension was installed by a Windows Installer (.msi) file. These extensions cannot be uninstalled through Extension Manager. Instead, they must be uninstalled by using the uninstall programs section of the Windows Control Panel.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'宣言
ReadOnly Property InstalledByMsi As Boolean
bool InstalledByMsi { get; }
property bool InstalledByMsi {
bool get ();
}
abstract InstalledByMsi : bool
function get InstalledByMsi () : boolean
Property Value
Type: System.Boolean
The value of the InstalledByMSI element of the VSIX extension manifest.
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.