Compartilhar via


TempDataDictionary.Keep Method

Include Protected Members
Include Inherited Members

Marks keys in the dictionary for retention.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Keep() Marks all keys in the dictionary for retention.
Public method Keep(String) Marks the specified key in the dictionary for retention.

Top

Remarks

When a key is marked for retention, the key is retained for the next request.

See Also

Reference

TempDataDictionary Class

System.Web.Mvc Namespace