語言

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[]

就是該金鑰的位元組陣列值。

實作

適用於