Method Insert
- Namespace
- SharpVectors.Dom.Css
- Assembly
- SharpVectors.Css.dll
Insert(int, ICssRule)
Inserts an item to the IList<T> at the specified index.
public void Insert(int index, ICssRule item)
Parameters
index
intThe zero-based index at which
item
should be inserted.item
ICssRuleThe object to insert into the IList<T>.
Exceptions
- ArgumentOutOfRangeException
index
is not a valid index in the IList<T>.- NotSupportedException
The IList<T> is read-only.