ITempDataDictionary 接口

定义

表示仅从一个请求保持到下一个请求的数据集。

public interface class ITempDataDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>
public interface ITempDataDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type ITempDataDictionary = interface
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
type ITempDataDictionary = interface
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface IDictionary<string, obj>
Public Interface ITempDataDictionary
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object))
派生
实现

方法

Keep()

将字典中的所有键都标记为需保留。

Keep(String)

将字典中的指定键标记为需保留。

Load()

使用已注册 ITempDataProvider的 加载字典。

Peek(String)

返回包含与指定键关联的元素的对象,不将该键标记为需删除。

Save()

使用已注册 ITempDataProvider的 保存字典。

适用于