GlobalType Class

 

Provides the base class for types that are defined in the project or generated from code.

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


public abstract class GlobalType : MarshalByRefObject

NameDescription
System_CAPS_protmethodGlobalType(Type)

Initializes a new instance of GlobalType.

NameDescription
System_CAPS_pubpropertyObjectType

Gets the checked type of the GlobalType.

NameDescription
System_CAPS_protmethodClearObjectType()

Clears the ObjectType property.

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodEquals(Object)

Checks if the specified object is equal to the current global type.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the current global type.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetObjectType()

Returns the type of this global type.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodOnChanged(EventArgs)

Raises the Changed event.

System_CAPS_protmethodOnChanging(EventArgs)

Raises the Changing event.

System_CAPS_protmethodOnRemoved(EventArgs)

Raises the Removed event.

System_CAPS_protmethodOnRemoving(EventArgs)

Raises the Removing event.

System_CAPS_protmethodPerformChange()

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

System_CAPS_protmethodPerformRemove()

Clears the global type and notifies users of its removal.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventChanged

Occurs after the current global type is modified.

System_CAPS_pubeventChanging

Occurs before the current global type is modified.

System_CAPS_pubeventRemoved

Occurs after the current global type is removed from use.

System_CAPS_pubeventRemoving

Occurs before the current global type is removed from use.

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.

Return to top
Show: