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)
Syntax
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public MustInherit Class GlobalObjectProvider _
Inherits MarshalByRefObject _
Implements IDisposable, IObjectWithSite
Dim instance As GlobalObjectProvider
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public abstract class GlobalObjectProvider : MarshalByRefObject, IDisposable,
IObjectWithSite
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public ref class GlobalObjectProvider abstract : public MarshalByRefObject,
IDisposable, IObjectWithSite
public abstract class GlobalObjectProvider extends MarshalByRefObject implements IDisposable, IObjectWithSite
Remarks
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.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
Microsoft.VisualStudio.Shell.Design.GlobalObjectProvider
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.