MemoryDistributedCache.Get(String) 方法

定义

从字节数组中获取与键 IMemoryCache 关联的指定项。

public:
 virtual cli::array <System::Byte> ^ Get(System::String ^ key);
public byte[]? Get(string key);
abstract member Get : string -> byte[]
override this.Get : string -> byte[]
Public Function Get (key As String) As Byte()

参数

key
String

要获取的项的键。

返回

Byte[]

键的字节数组值。

实现

适用于