共用方式為


WKUserContentController.AddContentRuleList(WKContentRuleList) 方法

定義

加入指定的內容規則清單。

[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

參數

contentRuleList
WKContentRuleList

要新增的內容規則清單。

屬性

適用於