[]
Inserts a style into the collection at the specified index.
public virtual void Insert(int index, NamedStyle style)
Public Overridable Sub Insert(index As Integer, style As NamedStyle)
| Type | Name | Description |
|---|---|---|
| int | index | Zero-based index at which to insert the named style |
| NamedStyle | style | Style to insert into the collection |
| Type | Condition |
|---|---|
| IndexOutOfRangeException | Specified index is out of range; must be between 0 and the total number in the collection |
| ArgumentNullException | No style specified or specified style is null |