Bewerken

Delen via


WKUserContentController.AddContentRuleList(WKContentRuleList) Method

Definition

Adds the specified list of content rules.

[Foundation.Export("addContentRuleList:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddContentRuleList (WebKit.WKContentRuleList contentRuleList);
abstract member AddContentRuleList : WebKit.WKContentRuleList -> unit
override this.AddContentRuleList : WebKit.WKContentRuleList -> unit

Parameters

contentRuleList
WKContentRuleList

The content rule list to add.

Attributes

Applies to