Delen via


GlobalTypeCollection Constructor (array<GlobalType , Boolean)

Creates a strongly-typed collection 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 GlobalType(), _
    readOnly As Boolean _
)
public GlobalTypeCollection(
    GlobalType[] items,
    bool readOnly
)
public:
GlobalTypeCollection(
    array<GlobalType^>^ items, 
    bool readOnly
)
new : 
        items:GlobalType[] * 
        readOnly:bool -> GlobalTypeCollection
public function GlobalTypeCollection(
    items : GlobalType[], 
    readOnly : boolean
)

Parameters

  • readOnly
    Type: Boolean

    Indicates whether or not the collection may be subsequently modified.

Remarks

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

.NET Framework Security

See Also

Reference

GlobalTypeCollection Class

GlobalTypeCollection Overload

Microsoft.VisualStudio.Shell.Design Namespace