BitmapImage.UriCachePolicy Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

[TypeConverterAttribute(typeof(RequestCachePolicyConverter))]
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
Show: