UriCachePolicy Property

BitmapImage.UriCachePolicy Property


Gets or sets a value that represents the caching policy for images that come from an HTTP source.

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

public RequestCachePolicy UriCachePolicy { get; set; }

Property Value

Type: System.Net.Cache.RequestCachePolicy

The base RequestCachePolicy of the current context. The default is null.

UriCachePolicy is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft