GlobalObjectCollection Constructor (array<GlobalObject , Boolean)

Initializes a new instance of a strongly-typed collection of global objects initially populated by an array of global objects.

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

Syntax

'Declaration
Public Sub New ( _
    items As GlobalObject(), _
    readOnly As Boolean _
)
public GlobalObjectCollection(
    GlobalObject[] items,
    bool readOnly
)
public:
GlobalObjectCollection(
    array<GlobalObject^>^ items, 
    bool readOnly
)
new : 
        items:GlobalObject[] * 
        readOnly:bool -> GlobalObjectCollection
public function GlobalObjectCollection(
    items : GlobalObject[], 
    readOnly : boolean
)

Parameters

  • readOnly
    Type: Boolean

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

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

GlobalObjectCollection Overload

Microsoft.VisualStudio.Shell.Design Namespace