Freigeben über


GlobalObject Members

Include Protected Members
Include Inherited Members

Provides the base class for types whose instances are accessible for each project.

The GlobalObject type exposes the following members.

Constructors

  Name Description
Protected method GlobalObject Initializes a new instance of the GlobalObject class.

Top

Methods

  Name Description
Protected method ClearInstance Clears the Instance property.
Protected method ClearObjectType Clears the ObjectType property. (Inherited from GlobalType.)
Protected method CreateInstance Creates a cached instance of the global object.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Equals Checks if the specified object is equal to the current global object. (Overrides GlobalType.Equals(Object).)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for the current global object. (Overrides GlobalType.GetHashCode().)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetObjectType Returns the type of this global type. (Inherited from GlobalType.)
Public method GetSerializer Returns the checked serializer of the specified type for the global object.
Public method GetSerializerCore Returns a serializer of the specified type for the global object.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Protected method OnChanged Raises the Changed event. (Inherited from GlobalType.)
Protected method OnChanging Raises the Changing event. (Inherited from GlobalType.)
Protected method OnCreated Raises the Created event.
Protected method OnRemoved Raises the Removed event. (Inherited from GlobalType.)
Protected method OnRemoving Raises the Removing event. (Inherited from GlobalType.)
Protected method PerformChange Reinitializes the global object and notifies users to changes to its state or shape. (Overrides GlobalType.PerformChange().)
Protected method PerformRemove Clears the global object and notifies users of its removal. (Overrides GlobalType.PerformRemove().)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Instance Gets an on-demand created instance of the global object.
Public property Name Gets the recommended name of the global object.
Public property ObjectType Gets the checked type of the GlobalType. (Inherited from GlobalType.)

Top

Events

  Name Description
Public event Changed Occurs after the current global type is modified. (Inherited from GlobalType.)
Public event Changing Occurs before the current global type is modified. (Inherited from GlobalType.)
Public event Created Occurs when an instance of the global object is created.
Public event Removed Occurs after the current global type is removed from use. (Inherited from GlobalType.)
Public event Removing Occurs before the current global type is removed from use. (Inherited from GlobalType.)

Top

See Also

Reference

GlobalObject Class

Microsoft.VisualStudio.Shell.Design Namespace