GlobalObjectCollection.AddRange Method ([])

Appends the objects in an array to the end of the collection.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Public Sub AddRange ( _
    items As GlobalObject() _
)
'使用
Dim instance As GlobalObjectCollection
Dim items As GlobalObject()

instance.AddRange(items)
public void AddRange(
    GlobalObject[] items
)
public:
void AddRange(
    array<GlobalObject^>^ items
)
public function AddRange(
    items : GlobalObject[]
)

Parameters

  • items
    Type: []

    An array of objects to be appended to the collection.

Permissions

See Also

Reference

GlobalObjectCollection Class

GlobalObjectCollection Members

AddRange Overload

Microsoft.VisualStudio.Shell.Design Namespace