Inserts an element into the Collection at the specified index.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Protected Overrides Sub SetItem ( _ index As Integer, _ item As Variable _ ) |
| C# |
|---|
protected override void SetItem ( int index, Variable item ) |
| C++ |
|---|
protected: virtual void SetItem ( int index, Variable^ item ) override |
Parameters
- index (System.Int32)
- The zero-based index at which item should be inserted.
- item (Extreme.Statistics.Variable)
- The Variable to insert.
Remarks
item should not be nullNothingnullptr.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | item is nullNothingnullptr. |