GlobalTypeCollection Constructor (array<GlobalType , 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
'Declaration
Public Sub New ( _
items As GlobalType(), _
readOnly As Boolean _
)
public GlobalTypeCollection(
GlobalType[] items,
bool readOnly
)
public:
GlobalTypeCollection(
array<GlobalType^>^ items,
bool readOnly
)
new :
items:GlobalType[] *
readOnly:bool -> GlobalTypeCollection
public function GlobalTypeCollection(
items : GlobalType[],
readOnly : boolean
)
Parameters
items
Type: array<Microsoft.VisualStudio.Shell.Design.GlobalType[]The objects added to the collection in this overloaded constructor.
readOnly
Type: BooleanIndicates 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.