BitmapImage.UriCachePolicy 屬性

定義

取得或設定值,這個值表示來自 HTTP 來源之影像的快取原則。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

屬性值

目前內容的基底 RequestCachePolicyThe base RequestCachePolicy of the current context. 預設為 nullThe default is null.

屬性

備註

UriCachePolicy會在 .NET Framework 版本3.5 中引進。UriCachePolicy is introduced in the .NET Framework version 3.5. 如需詳細資訊,請參閱版本和相依性For more information, see Versions and Dependencies.

適用於

另請參閱