Rediģēt

Kopīgot, izmantojot


Dictionary<TKey,TValue>.AlternateLookup<TAlternateKey>.TryGetValue Method

Definition

Overloads

TryGetValue(TAlternateKey, TValue)
TryGetValue(TAlternateKey, TKey, TValue)

TryGetValue(TAlternateKey, TValue)

public:
 bool TryGetValue(TAlternateKey key, [Runtime::InteropServices::Out] TValue % value);
public bool TryGetValue (TAlternateKey key, out TValue value);
member this.TryGetValue : 'AlternateKey * 'Value -> bool
Public Function TryGetValue (key As TAlternateKey, ByRef value As TValue) As Boolean

Parameters

key
TAlternateKey
value
TValue

Returns

Applies to

TryGetValue(TAlternateKey, TKey, TValue)

public:
 bool TryGetValue(TAlternateKey key, [Runtime::InteropServices::Out] TKey % actualKey, [Runtime::InteropServices::Out] TValue % value);
public bool TryGetValue (TAlternateKey key, out TKey actualKey, out TValue value);
member this.TryGetValue : 'AlternateKey * 'Key * 'Value -> bool
Public Function TryGetValue (key As TAlternateKey, ByRef actualKey As TKey, ByRef value As TValue) As Boolean

Parameters

key
TAlternateKey
actualKey
TKey
value
TValue

Returns

Applies to