GlobalObjectCollection Constructor (array<GlobalObject , Boolean)
Initializes a new instance of a strongly-typed collection of global objects initially populated by an array 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 GlobalObject(), _
readOnly As Boolean _
)
public GlobalObjectCollection(
GlobalObject[] items,
bool readOnly
)
public:
GlobalObjectCollection(
array<GlobalObject^>^ items,
bool readOnly
)
new :
items:GlobalObject[] *
readOnly:bool -> GlobalObjectCollection
public function GlobalObjectCollection(
items : GlobalObject[],
readOnly : boolean
)
Parameters
items
Type: array<Microsoft.VisualStudio.Shell.Design.GlobalObject[]An array of GlobalObject objects to initially populate the collection.
readOnly
Type: System.BooleanIf 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.