GlobalObjectCollection Constructor (GlobalObjectCollection^, Boolean)

 

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)

public:
GlobalObjectCollection(
	GlobalObjectCollection^ items,
	bool readOnly
)

Parameters

items
Type: Microsoft.VisualStudio.Shell.Design::GlobalObjectCollection^

A collection of objects to initially populate the collection.

readOnly
Type: System::Boolean

If true, the collection cannot be modified. The default value for readOnly if not passed is false.

Return to top
Show: