ImmutableSortedDictionary<TKey,TValue>.Builder.ValueRef(TKey) ImmutableSortedDictionary<TKey,TValue>.Builder.ValueRef(TKey) ImmutableSortedDictionary<TKey,TValue>.Builder.ValueRef(TKey) ImmutableSortedDictionary<TKey,TValue>.Builder.ValueRef(TKey) Method

定义

返回对该值的只读引用,该值与提供的 key 相关联。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

参数

key
TKey TKey TKey TKey

返回

TValue TValue TValue TValue

异常

适用于