Table of Contents

Method TryGetValue

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

TryGetValue(string, out StringValues)

Retrieves a value from the dictionary.

public bool TryGetValue(string key, out StringValues value)

Parameters

key string

The header name.

value StringValues

The value.

Returns

bool

true if the NatsHeaders contains the key; otherwise, false.