共用方式為


MemoryDistributedCache.Get(String) Method

Definition

Gets the specified item associated with a key from the IMemoryCache as a byte array.

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()

Parameters

key
String

The key of the item to get.

Returns

Byte[]

The byte array value of the key.

Implements

Applies to