共用方式為


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 _
)
public GlobalTypeCollection(
    GlobalTypeCollection items,
    bool readOnly
)

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 Overload

Microsoft.VisualStudio.Shell.Design Namespace