Table of Contents

Method DeleteRule

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Core.dll

DeleteRule(ulong)

Used to delete a rule from the style sheet.

void DeleteRule(ulong index)

Parameters

index ulong

The index within the style sheet's rule list of the rule to remove.

Exceptions

DomException

INDEX_SIZE_ERR: Raised if the specified index does not correspond to a rule in the style sheet's rule list.

DomException

NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly.