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
- items
Type: Microsoft.VisualStudio.Shell.Design.GlobalTypeCollection
The objects added to the collection in this overloaded constructor.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.