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

‘선언
Public Sub New ( _
    items As GlobalTypeCollection, _
    readOnly As Boolean _
)
‘사용 방법
Dim items As GlobalTypeCollection
Dim readOnly As Boolean

Dim instance As New GlobalTypeCollection(items, readOnly)
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: System.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 Members

GlobalTypeCollection Overload

Microsoft.VisualStudio.Shell.Design Namespace