Compartilhar via


GlobalObjectProvider Class

Definition

Important

This API is not CLS-compliant.

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

public ref class GlobalObjectProvider abstract : MarshalByRefObject, IDisposable, Microsoft::VisualStudio::OLE::Interop::IObjectWithSite
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class GlobalObjectProvider : MarshalByRefObject, IDisposable, Microsoft.VisualStudio.OLE.Interop.IObjectWithSite
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class GlobalObjectProvider : MarshalByRefObject, IDisposable, Microsoft.VisualStudio.OLE.Interop.IObjectWithSite
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type GlobalObjectProvider = class
    inherit MarshalByRefObject
    interface IDisposable
    interface IObjectWithSite
[<System.Runtime.InteropServices.ComVisible(true)>]
type GlobalObjectProvider = class
    inherit MarshalByRefObject
    interface IDisposable
    interface IObjectWithSite
Public MustInherit Class GlobalObjectProvider
Inherits MarshalByRefObject
Implements IDisposable, IObjectWithSite
Inheritance
GlobalObjectProvider
Attributes
Implements

Constructors

GlobalObjectProvider()

Initializes a new instance of GlobalObjectProvider.

Methods

Dispose()

Disposes this global object provider.

Dispose(Boolean)

Disposes this object and its resources.

GetGlobalObjects(Project, Type)

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

GetGlobalObjects(Project)

Gets a collection of global objects for the specified project.

GetGlobalObjectsCore(Project, Type)

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

GetGlobalTypes(Project)

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

GetGlobalTypesCore(Project)

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

GetService(Type)

Gets the requested service.

OnCollectionChanged(EventArgs)

Raises the CollectionChanged event.

Events

CollectionChanged

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

Explicit Interface Implementations

IObjectWithSite.GetSite(Guid, IntPtr)

Gets the service provider.

IObjectWithSite.SetSite(Object)

Sets the System.IserviceProvider.

Applies to