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。

适用于