GlobalObjectProvider Class

 

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

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

System.Object
  System.MarshalByRefObject
    Microsoft.VisualStudio.Shell.Design.GlobalObjectProvider

[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public abstract class GlobalObjectProvider : MarshalByRefObject, 
	IDisposable, IObjectWithSite

NameDescription
System_CAPS_protmethodGlobalObjectProvider()

Initializes a new instance of GlobalObjectProvider.

NameDescription
System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Disposes this global object provider.

System_CAPS_protmethodDispose(Boolean)

Disposes this object and its resources.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetGlobalObjects(Project)

Gets a collection of global objects for the specified project.

System_CAPS_pubmethodGetGlobalObjects(Project, Type)

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

System_CAPS_protmethodGetGlobalObjectsCore(Project, Type)

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

System_CAPS_pubmethodGetGlobalTypes(Project)

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

System_CAPS_protmethodGetGlobalTypesCore(Project)

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

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetService(Type)

Gets the requested service.

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_protmethodOnCollectionChanged(EventArgs)

Raises the CollectionChanged event.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCollectionChanged

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

The GlobalObjectProvider class provides information on the global objects available to the current project; for example, the class provides a list of global objects to the global object service. There is one global object provider for all project-level resource files, and another for each strongly typed dataset.

In the Visual Studio design-time environment, global object providers are created through the Visual Studio ILocalRegistry construct and are sited through IObjectWithSite during creation. When a provider is no longer needed by a global object service, the global object service disposes of the provider.

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: