set_CachePolicy()

WebRequest::set_CachePolicy(System::SharedPtr<System::Net::Cache::RequestCachePolicy>) method

Sets the cache policy.

virtual void System::Net::WebRequest::set_CachePolicy(System::SharedPtr<System::Net::Cache::RequestCachePolicy> value)

Arguments

ParameterTypeDescription
valueSystem::SharedPtr<System::Net::Cache::RequestCachePolicy>The cache policy to set.

See Also