共用方式為


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 _
)
public GlobalObjectCollection(
    GlobalObjectCollection 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