Partager via


GlobalTypeCollection Constructor (GlobalTypeCollection, 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 GlobalTypeCollection, _
    readOnly As Boolean _
)
public GlobalTypeCollection(
    GlobalTypeCollection items,
    bool readOnly
)
public:
GlobalTypeCollection(
    GlobalTypeCollection^ items, 
    bool readOnly
)
new : 
        items:GlobalTypeCollection * 
        readOnly:bool -> GlobalTypeCollection
public function GlobalTypeCollection(
    items : GlobalTypeCollection, 
    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