Table of Contents

Method DeleteRule

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

DeleteRule(ulong)

Used to delete a rule from the media block.

public void DeleteRule(ulong index)

Parameters

index ulong

The index within the media block's rule collection of the rule to remove.

Exceptions

DomException

INDEX_SIZE_ERR: Raised if the specified index does not correspond to a rule in the media rule list.

DomException

NO_MODIFICATION_ALLOWED_ERR: Raised if this media rule is readonly.