GlobalType Class
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)
System.MarshalByRefObject
Microsoft.VisualStudio.Shell.Design.GlobalType
Microsoft.VisualStudio.Shell.Design.GlobalObject
| Name | Description | |
|---|---|---|
![]() | GlobalType(Type) | Initializes a new instance of GlobalType. |
| Name | Description | |
|---|---|---|
![]() | ObjectType | Gets the checked type of the GlobalType. |
| Name | Description | |
|---|---|---|
![]() | ClearObjectType() | Clears the ObjectType property. |
![]() | CreateObjRef(Type) | (Inherited from MarshalByRefObject.) |
![]() | Equals(Object) | Checks if the specified object is equal to the current global type.(Overrides Object.Equals(Object).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Returns the hash code for the current global type.(Overrides Object.GetHashCode().) |
![]() | GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | GetObjectType() | Returns the type of this global type. |
![]() | GetType() | (Inherited from Object.) |
![]() | InitializeLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) |
![]() | OnChanged(EventArgs) | Raises the Changed event. |
![]() | OnChanging(EventArgs) | Raises the Changing event. |
![]() | OnRemoved(EventArgs) | Raises the Removed event. |
![]() | OnRemoving(EventArgs) | 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() | (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 GlobalType 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. GlobalType inherits from MarshalByRefObject so that GlobalObject, which derives from GlobalType, can have its instances marshaled across domains.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



