URLConnection.DefaultUseCaches Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the default value of a URLConnection
's
useCaches
flag. -or- Sets the default value of the useCaches
field to the
specified value.
public virtual bool DefaultUseCaches { [Android.Runtime.Register("getDefaultUseCaches", "()Z", "GetGetDefaultUseCachesHandler")] get; [Android.Runtime.Register("setDefaultUseCaches", "(Z)V", "GetSetDefaultUseCaches_ZHandler")] set; }
[<get: Android.Runtime.Register("getDefaultUseCaches", "()Z", "GetGetDefaultUseCachesHandler")>]
[<set: Android.Runtime.Register("setDefaultUseCaches", "(Z)V", "GetSetDefaultUseCaches_ZHandler")>]
member this.DefaultUseCaches : bool with get, set
Property Value
the default value of a URLConnection
's
useCaches
flag.
- Attributes
Remarks
Property getter documentation:
Returns the default value of a URLConnection
's useCaches
flag.
Ths default is "sticky", being a part of the static state of all URLConnections. This flag applies to the next, and all following URLConnections that are created.
Java documentation for java.net.URLConnection.getDefaultUseCaches()
.
Property setter documentation:
Sets the default value of the useCaches
field to the specified value.
Java documentation for java.net.URLConnection.setDefaultUseCaches(boolean)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.