ImmutableSortedDictionary<TKey,TValue>.Builder.ValueRef(TKey) 方法

定义

返回对与所提供的 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

参数

key
TKey

要查找的条目的键。

返回

TValue

对与所提供的 key值关联的值的只读引用。

例外

不存在 key

适用于