GlobalObjectCollection Constructor (GlobalObjectCollection, Boolean)

Initializes a new instance of global objects for the specified global object collection for the specified read/write access.

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

Syntax

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

Dim instance As New GlobalObjectCollection(items, readOnly)
public GlobalObjectCollection(
    GlobalObjectCollection items,
    bool readOnly
)
public:
GlobalObjectCollection(
    GlobalObjectCollection^ items, 
    bool readOnly
)
new : 
        items:GlobalObjectCollection * 
        readOnly:bool -> GlobalObjectCollection
public function GlobalObjectCollection(
    items : GlobalObjectCollection, 
    readOnly : boolean
)

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 Members

GlobalObjectCollection Overload

Microsoft.VisualStudio.Shell.Design Namespace