WebSettings.AllowContentAccess 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取此 WebView 是否支持内容 URL 访问。
public abstract bool AllowContentAccess { [Android.Runtime.Register("getAllowContentAccess", "()Z", "GetGetAllowContentAccessHandler")] get; [Android.Runtime.Register("setAllowContentAccess", "(Z)V", "GetSetAllowContentAccess_ZHandler")] set; }
[<get: Android.Runtime.Register("getAllowContentAccess", "()Z", "GetGetAllowContentAccessHandler")>]
[<set: Android.Runtime.Register("setAllowContentAccess", "(Z)V", "GetSetAllowContentAccess_ZHandler")>]
member this.AllowContentAccess : bool with get, set
属性值
如此 如果 WebView 可以加载内容 URL;否则为 false。
- 特性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。