ICSSStyleSheet.InsertRule

ICSSStyleSheet.InsertRule method

Used to insert a new rule into the style sheet. The new rule now becomes part of the cascade.

public long InsertRule(string rule, int index)
ParameterTypeDescription
ruleStringThe style rule.
indexInt32The rule index.

Return Value

The inserted index

See Also