Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of global objects for the specified global object collection for the specified read/write access.
Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Sub New ( _
    items As GlobalObjectCollection, _
    readOnly As Boolean _
)
public GlobalObjectCollection(
    GlobalObjectCollection items,
    bool readOnly
)
public:
GlobalObjectCollection(
    GlobalObjectCollection^ items, 
    bool readOnly
)
new : 
        items:GlobalObjectCollection * 
        readOnly:bool -> GlobalObjectCollection
public function GlobalObjectCollection(
    items : GlobalObjectCollection, 
    readOnly : boolean
)
Parameters
- items 
 Type: Microsoft.VisualStudio.Shell.Design.GlobalObjectCollection- A collection of objects to initially populate the collection. 
- readOnly 
 Type: Boolean- If true, the collection cannot be modified. The default value for readOnly if not passed is false. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.