Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Clears the Instance property.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaración
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
- 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.