Freigeben über


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
)

Parameters

  • readOnly
    Type: System.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