OutputCacheProfileCollection.Add メソッド
アセンブリ: System.Web (system.web.dll 内)




' Execute the Add method. Dim outputCacheProfile0 _ As New System.Web.Configuration.OutputCacheProfile( _ "MyCacheProfile") outputCacheProfile0.Location = _ System.Web.UI.OutputCacheLocation.Any outputCacheProfile0.NoStore = _ False outputCacheProfiles.Add(outputCacheProfile0) ' Update if not locked. If Not outputCacheSettings.IsReadOnly() Then webConfig.Save() End If
// Execute the Add method. System.Web.Configuration.OutputCacheProfile outputCacheProfile0 = new System.Web.Configuration.OutputCacheProfile("MyCacheProfile"); outputCacheProfile0.Location = System.Web.UI.OutputCacheLocation.Any; outputCacheProfile0.NoStore = false; outputCacheProfiles.Add(outputCacheProfile0); // Update if not locked. if (!outputCacheSettings.IsReadOnly()) { webConfig.Save(); }

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- OutputCacheProfileCollection.Add メソッドのページへのリンク