Share via


GlobalObjectProvider Members

Include Protected Members
Include Inherited Members

Provides a base class for accessing one or more global object types.

The GlobalObjectProvider type exposes the following members.

Constructors

 

Name

Description

Protected method

GlobalObjectProvider

Initializes a new instance of GlobalObjectProvider.

Top

Methods

 

Name

Description

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

Dispose

Overloaded. Disposes this global object provider.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetGlobalObjects

Overloaded. Gets a collection of global objects.

Protected method

GetGlobalObjectsCore

When overridden in a derived class, returns a collection of global objects for the specified project that match the specified type.

Public method

GetGlobalTypes

Gets a collection of global types for the specified project that match the specified type.

Protected method

GetGlobalTypesCore

Gets a collection of global types for the specified project that match the specified type.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetLifetimeService

Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)

Protected method

GetService

Gets the requested service.

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

Overloaded.

Protected method

OnCollectionChanged

Raises the CollectionChanged event.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Events

 

Name

Description

Public event

CollectionChanged

Occurs when there is a change to the collection of global object or global types.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IObjectWithSite.GetSite

Gets the service provider.

Explicit interface implemetationPrivate method

IObjectWithSite.SetSite

Sets the IserviceProvider.

Top

See Also

Reference

GlobalObjectProvider Class

Microsoft.VisualStudio.Shell.Design Namespace