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; }
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Media.RequestCachePolicyConverter))>]
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.

Attributes

Remarks

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

Applies to

See also