相关疑难解决方法(0)

TempData keep()vs peek()

keep()和peek()有什么区别?

MSDN说:

  • 保持(): marks the specified key in the dictionary for retention.
  • 窥视(): returns an object that contains the element that is associated with the specified key, without marking the key for deletion.

我无法得到真正的不同之处,难道他们都没有为另一个请求保留价值吗?

asp.net-mvc tempdata

62
推荐指数
3
解决办法
11万
查看次数

标签 统计

asp.net-mvc ×1

tempdata ×1