Share via


IDistributedCache.Get(String) Metoda

Definice

Získá hodnotu s daným klíčem.

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

Parametry

key
String

Řetězec identifikující požadovanou hodnotu.

Návraty

Byte[]

Vyhledáná hodnota nebo null.

Platí pro