PartialCachingAttribute.VaryByParams プロパティ
アセンブリ: System.Web (system.web.dll 内)

クエリ文字列のリストまたはフォームの POST パラメータのリスト。

PartialCachingAttribute(Int32,String,String,String) コンストラクタをユーザー コントロールに適用する方法を次のコード例に示します。この例では、このコンストラクタを使用して、ユーザー コントロールをキャッシュできることを示し、キャッシュ エントリが依存するパラメータを指定しています。
' Set the PartialCachingAttribute.Duration property to ' 20 seconds and the PartialCachingAttribute.VaryByParams ' property to ctlSelect.country, the full name of the form ' POST parameter generated by the country DropDownList control. <PartialCaching(20, "ctlSelect.country", Nothing, Nothing)> _ Public Class ctlSelect Inherits UserControl
// Set the PartialCachingAttribute.Duration property to // 20 seconds and the PartialCachingAttribute.VaryByParams // property to ctlSelect.country, the full name of the form // POST parameter generated by the country DropDownList control. [PartialCaching(20, "ctlSelect.country", null, null)] public partial class ctlSelect : UserControl
// Set the PartialCachingAttribute.Duration property to // 20 seconds and the PartialCachingAttribute.VaryByParams // property to ctlSelect.country, the full name of the form // POST parameter generated by the country DropDownList control. /** @attribute PartialCaching(20, "ctlSelect.country", null, null) */

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からPartialCachingAttribute.VaryByParams プロパティを検索する場合は、下記のリンクをクリックしてください。

- PartialCachingAttribute.VaryByParams プロパティのページへのリンク