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