BitmapImage.UriCachePolicy 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.