CacheProfile.Location Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan atau mengatur lokasi tempat data dari URL tertentu harus di-cache. Jika properti ini diatur ke nilai bukan null, header "Cache-control" diatur dalam Response.
public:
property Nullable<Microsoft::AspNetCore::Mvc::ResponseCacheLocation> Location { Nullable<Microsoft::AspNetCore::Mvc::ResponseCacheLocation> get(); void set(Nullable<Microsoft::AspNetCore::Mvc::ResponseCacheLocation> value); };
public Microsoft.AspNetCore.Mvc.ResponseCacheLocation? Location { get; set; }
member this.Location : Nullable<Microsoft.AspNetCore.Mvc.ResponseCacheLocation> with get, set
Public Property Location As Nullable(Of ResponseCacheLocation)