Set

FileCache.Set method

将缓存条目插入到缓存中。

public void Set(string key, object value)
范围 类型 描述
key String 缓存条目的唯一标识符。
value Object 要插入的对象。

也可以看看