Provides the base class for types that are defined in the project or generated from code.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Thetype exposes the following members.
|ClearObjectType||Clears the ObjectType property.|
|CreateObjRef||Security Critical. Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)|
|Equals||Checks if the specified object is equal to the current global type. (Overrides Object.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Returns the hash code for the current global type. (Overrides Object.GetHashCode().)|
|GetLifetimeService||Security Critical. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|GetObjectType||Returns the type of this global type.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|InitializeLifetimeService||Security Critical. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|MemberwiseClone()||Creates a shallow copy of the current Object. (Inherited from Object.)|
|MemberwiseClone(Boolean)||Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)|
|OnChanged||Raises the Changed event.|
|OnChanging||Raises the Changing event.|
|OnRemoved||Raises the Removed event.|
|OnRemoving||Raises the Removing event.|
|PerformChange||Reinitializes the global type and notifies users to changes to its shape.|
|PerformRemove||Clears the global type and notifies users of its removal.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
A global type is a standard instanced object, but the type for this object comes from a project in the solution or from generated code.
The class provides data about a specific global type. You cannot create global types directly, but often you need to track them for type changes, additions, and removals. inherits from MarshalByRefObject so that GlobalObject, which derives from , can have its instances marshaled across domains.