ICSSStyleSheet.InsertRule

ICSSStyleSheet.InsertRule method

用于将新规则插入样式表。新规则现在成为级联的一部分。

public long InsertRule(string rule, int index)
范围类型描述
ruleString风格规则。
indexInt32规则索引。

返回值

插入的索引

也可以看看