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
- 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.