次の方法で共有


GlobalObject.PerformChange Method

Reinitializes the global object and notifies users to changes to its state or shape.

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

Syntax

'宣言
Protected Overrides Sub PerformChange
protected override void PerformChange()

Remarks

The shape of a global object can dynamically change either through simple state changes or through modifications to it members. The PerformChange method is called in the derived class to propagate these changes to all the users of this global object. The default implementation of PerformChange performs the following sequence of actions:

  1. Raises the Changing event.

  2. Sets the object instance to a null value by calling the ClearInstance and ClearObjectType methods.

  3. Raises the Changed event.

.NET Framework Security

See Also

Reference

GlobalObject Class

Microsoft.VisualStudio.Shell.Design Namespace

PerformRemove

ClearInstance

ClearObjectType

OnChanging

OnChanged