Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Marks the specified key in the dictionary for retention.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub Keep ( _
key As String _
)
public void Keep(
string key
)
public:
void Keep(
String^ key
)
Parameters
- key
Type: System.String
The key to retain in the dictionary.
Remarks
When a key is marked for retention, the key is retained for the next request.