语言

CacheStoreProvider.Get(String) 方法

定义

从缓存中检索指定项(如果存在)。

public:
 abstract System::Object ^ Get(System::String ^ key);
public abstract object Get(string key);
abstract member Get : string -> obj
Public MustOverride Function Get (key As String) As Object

参数

key
String

键。

返回

缓存中的指定项(如果存在);否则 null。

适用于