Creates a new cache item policy from a string.
Public Shared Function TryParse(
ByVal value As String,
ByRef policy As CacheItemPolicy
) As Boolean
Input string. This value must not be null.
Output policy to create.
true if parsing was successful and policy was created, otherwise; false.
ToParsableString can be used to convert a CacheItemPolicy to a simple string to store in an external resource (such as a configuration file). TryParse can then be used to re-create the policy from the string.