다음을 통해 공유


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() Disposes this global object provider.
Protected method Dispose(Boolean) Disposes this object and its resources.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from 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 GetGlobalObjects(Project) Gets a collection of global objects for the specified project.
Public method GetGlobalObjects(Project, Type) Gets a collection of global objects for the specified project that match the specified type.
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 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 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