MemoryDistributedCache.Get(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从字节数组中获取与键 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[]
键的字节数组值。