BitmapImage.UriCachePolicy BitmapImage.UriCachePolicy BitmapImage.UriCachePolicy BitmapImage.UriCachePolicy Property

Definition

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

public:
 property System::Net::Cache::RequestCachePolicy ^ UriCachePolicy { System::Net::Cache::RequestCachePolicy ^ get(); void set(System::Net::Cache::RequestCachePolicy ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Windows.Media.RequestCachePolicyConverter))]
public System.Net.Cache.RequestCachePolicy UriCachePolicy { get; set; }
member this.UriCachePolicy : System.Net.Cache.RequestCachePolicy with get, set
Public Property UriCachePolicy As RequestCachePolicy

Property Value

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

Remarks

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

Applies to

See also