Delen via


GlobalType.PerformChange Method

Reinitializes the global type and notifies users to changes to its shape.

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

Syntax

'Declaration
Protected Overridable Sub PerformChange
protected virtual void PerformChange()
protected:
virtual void PerformChange()
abstract PerformChange : unit -> unit  
override PerformChange : unit -> unit
protected function PerformChange()

Remarks

The PerformChange method should be called by derived classes when modifications, such as additions or deletions, are made to the members of the global type.

The default implementation of PerformChange performs the following actions:

  1. Raises the Changing event.

  2. Nulls the object instance by calling the ClearObjectType method.

  3. Raises the Changed event.

.NET Framework Security

See Also

Reference

GlobalType Class

Microsoft.VisualStudio.Shell.Design Namespace

PerformRemove

ClearObjectType

OnChanging

OnChanged