DistributedSession.TryGetValue(String, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.