語言

IDistributedCache.Get(String) 方法

定義

會得到一個帶有指定鍵值的值。

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

參數

key
String

一個用來識別請求值的字串。

傳回

Byte[]

定位值或空值。

適用於