共用方式為


InstallProgressChangedEventArgs.Uninstalling Property

Indicates whether the event is fired by an uninstall operation or an install operation.

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

Syntax

'宣告
Public ReadOnly Property Uninstalling As Boolean
public bool Uninstalling { get; }
public:
property bool Uninstalling {
    bool get ();
}
member Uninstalling : bool
function get Uninstalling () : boolean

Property Value

Type: System.Boolean
true if the event was fired by an uninstall operation; 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

InstallProgressChangedEventArgs Class

Microsoft.VisualStudio.ExtensionManager Namespace