SystemWebCachingSectionGroup.OutputCache Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Yapılandırmada outputCache
yer alan bölümü alır.
public:
property System::Web::Configuration::OutputCacheSection ^ OutputCache { System::Web::Configuration::OutputCacheSection ^ get(); };
[System.Configuration.ConfigurationProperty("outputCache")]
public System.Web.Configuration.OutputCacheSection OutputCache { get; }
[<System.Configuration.ConfigurationProperty("outputCache")>]
member this.OutputCache : System.Web.Configuration.OutputCacheSection
Public ReadOnly Property OutputCache As OutputCacheSection
Özellik Değeri
OutputCacheSection nesnesi.
- Öznitelikler
Örnekler
Aşağıdaki kod örneği, nesnenin OutputCacheSection var olan bir Web uygulamasının yapılandırma dosyasından nasıl alınacaklarını gösterir.
// Get the .<outputCache> section
OutputCacheSection outputCache =
cachingSectionGroup.OutputCache;
// Display one of its properties.
msg = String.Format(
"Enable output cache: {0}\n",
outputCache.EnableOutputCache.ToString());
Console.Write(msg);
' Get the .<outputCache> section
Dim outputCache _
As OutputCacheSection = _
cachingSectionGroup.OutputCache
' Display one of its properties.
msg = String.Format( _
"Enable output cache: {0}" + _
ControlChars.Lf, _
outputCache.EnableOutputCache.ToString())
Console.Write(msg)
Açıklamalar
OutputCacheSection nesnesi yapılandırma dosyasının outputCache
bölümüne başvurur.
Şunlara uygulanır
Ayrıca bkz.
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.