Freigeben über


GlobalObject.ClearInstance Method

Clears the Instance property.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Protected Sub ClearInstance
'Usage

Me.ClearInstance()
protected void ClearInstance()
protected:
void ClearInstance()
member ClearInstance : unit -> unit 
protected function ClearInstance()

Remarks

The ClearInstance method clears the cached instance of the global object represented by the Instance property. ClearInstance is invoked automatically by the PerformChange and PerformRemove methods, but you can invoke it manually, especially in cases where you are manually raising events.

.NET Framework Security

See Also

Reference

GlobalObject Class

GlobalObject Members

Microsoft.VisualStudio.Shell.Design Namespace

Instance

PerformChange

PerformRemove