Method Remove
- Namespace
- SharpVectors.Dom.Css
- Assembly
- SharpVectors.Css.dll
Remove(ICssRule)
Removes the first occurrence of a specific object from the ICollection<T>.
public bool Remove(ICssRule item)
Parameters
item
ICssRuleThe object to remove from the ICollection<T>.
Returns
- bool
true if
item
was successfully removed from the ICollection<T>; otherwise, false. This method also returns false ifitem
is not found in the original ICollection<T>.
Exceptions
- NotSupportedException
The ICollection<T> is read-only.