次の方法で共有


IInstalledExtension.InstalledPerMachine Property

Specifies whether the extension is installed on a per-machine basis.

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

Syntax

'宣言
ReadOnly Property InstalledPerMachine As Boolean
bool InstalledPerMachine { get; }
property bool InstalledPerMachine {
    bool get ();
}
abstract InstalledPerMachine : bool
function get InstalledPerMachine () : boolean

Property Value

Type: System.Boolean
true if the extension is installed on a per-machine basis; 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.

If an extension is installed on a per-machine basis, all users of that computer have access to the extension. Otherwise, it is available only to the user who installed it.

.NET Framework Security

See Also

Reference

IInstalledExtension Interface

Microsoft.VisualStudio.ExtensionManager Namespace