ResponseCacheAttribute.Location 属性

定义

获取或设置必须缓存特定 URL 中的数据的位置。

public:
 property Microsoft::AspNetCore::Mvc::ResponseCacheLocation Location { Microsoft::AspNetCore::Mvc::ResponseCacheLocation get(); void set(Microsoft::AspNetCore::Mvc::ResponseCacheLocation value); };
public Microsoft.AspNetCore.Mvc.ResponseCacheLocation Location { get; set; }
member this.Location : Microsoft.AspNetCore.Mvc.ResponseCacheLocation with get, set
Public Property Location As ResponseCacheLocation

属性值

适用于