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
'Declaration
Protected Overrides Sub PerformChange
'Usage
Me.PerformChange()
protected override void PerformChange()
protected:
virtual void PerformChange() override
abstract PerformChange : unit -> unit
override PerformChange : unit -> unit
protected override function 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:
Raises the Changing event.
Sets the object instance to a null value by calling the ClearInstance and ClearObjectType methods.
Raises the Changed event.
.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.