Partager via


GlobalObjectCollection Class

A strongly typed collection of global objects. The collection can be read-write or read-only. A read-write collection can be cheaply passed to the constructor of GlobalObjectCollection to make a read only version without copying the collection.

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

Syntax

Public NotInheritable Class GlobalObjectCollection _
    Inherits MarshalByRefObject _
    Implements IList, ICollection, IEnumerable

Dim instance As GlobalObjectCollection
public sealed class GlobalObjectCollection : MarshalByRefObject, IList, 
    ICollection, IEnumerable
public ref class GlobalObjectCollection sealed : public MarshalByRefObject, 
    IList, ICollection, IEnumerable
public final class GlobalObjectCollection extends MarshalByRefObject implements IList, ICollection, IEnumerable

Inheritance Hierarchy

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

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.

See Also

Reference

GlobalObjectCollection Members

Microsoft.VisualStudio.Shell.Design Namespace