Inserts an array of lights into the collection at the specified index.
Syntax
'Declaration
Public Sub InsertRange( _
ByVal As Integer, _
ByVal () As Light _
)
'Usage
Dim instance As LightCollection
Dim index As Integer
Dim items() As Light
instance.InsertRange(index, items)
public void InsertRange(
int ,
Light[]
)
Parameters
- index
- Index at which items should be inserted.
- items
- Array of lights.
Exceptions
Exception | Description |
System.ArgumentNullException | items is a null reference (Nothing in VB) or some items[i] is a null reference (nothing in VB). |
See Also