Share via


DistributedSession.TryGetValue(String, Byte[]) Method

Definition

Retrieve the value of the given key, if present.

public:
 virtual bool TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % value);
public bool TryGetValue (string key, out byte[] value);
public bool TryGetValue (string key, out byte[]? value);
abstract member TryGetValue : string * Byte[] -> bool
override this.TryGetValue : string * Byte[] -> bool
Public Function TryGetValue (key As String, ByRef value As Byte()) As Boolean

Parameters

key
String
value
Byte[]

Returns

The retrieved value.

Implements

Applies to