ImmutableSortedDictionary<TKey,TValue>.ValueRef(TKey) Método

Definición

Devuelve una referencia de solo lectura al valor asociado con el elemento key proporcionado.Returns a read-only reference to the value associated with the provided key.

public:
 TValue& ^ ValueRef(TKey key);
public ref readonly TValue ValueRef (TKey key);
member this.ValueRef : 'Key -> 'Value
Public Function ValueRef (key As TKey) As TValue

Parámetros

key
TKey

Devoluciones

TValue

Excepciones

El elemento key no está presente.The key is not present.

Se aplica a