IDistributedCache.Get(String) 方法

定義

取得具有指定索引鍵的值。

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

參數

key
String

可識別所要求值的字串。

傳回

Byte[]

找到的值或 null。

適用於