次の方法で共有


GlobalObject.ClearInstance Method

Clears the Instance property.

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

Syntax

'宣言
Protected Sub ClearInstance
protected void 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

Microsoft.VisualStudio.Shell.Design Namespace

Instance

PerformChange

PerformRemove