ControlCachePolicy.VaryByControl 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置控件标识符列表,以改变缓存的输出。
public:
property System::String ^ VaryByControl { System::String ^ get(); void set(System::String ^ value); };
public string VaryByControl { get; set; }
member this.VaryByControl : string with get, set
Public Property VaryByControl As String
属性值
用于改变用户控件输出缓存的字符串的分号分隔列表。 这些字符串表示在用户控件中声明 ASP.NET 服务器控件的 ID 属性值。