| CSSClientAddRuleAsync Method  | 
Version 90.6.50 
            Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
            position specified by `location`.
            
 
    Namespace: 
   CefSharp.DevTools.CSS
    Assembly:
   CefSharp (in CefSharp.dll) Version: 90.6.50.0 (90.6.50.0)
 Syntax
Syntaxpublic Task<AddRuleResponse> AddRuleAsync(
	string styleSheetId,
	string ruleText,
	SourceRange location
)
public:
Task<AddRuleResponse^>^ AddRuleAsync(
	String^ styleSheetId, 
	String^ ruleText, 
	SourceRange^ location
)
Parameters
- styleSheetId
- Type: SystemString
 The css style sheet identifier where a new rule should be inserted.
- ruleText
- Type: SystemString
 The text of a new rule.
- location
- Type: CefSharp.DevTools.CSSSourceRange
 Text position of a new rule in the target style sheet.
Return Value
Type: 
TaskAddRuleResponsereturns System.Threading.Tasks.Task<AddRuleResponse>
 See Also
See Also