Adds a new component using the default parameters in a specified position.
public void AddComponent( int position )
Public Sub AddComponent ( position As Integer )
public: void AddComponent( int position )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the position is less than 0 or greater than the component's count. |