Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
VaryByCustom Property

OutputCacheAttribute.VaryByCustom Property

 

Gets or sets the vary-by-custom value.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public string VaryByCustom { get; set; }

Property Value

Type: System.String

The vary-by-custom value.

Any text that represents custom output-caching requirements.

Return to top
Show:
© 2015 Microsoft