Dictionary<TKey,TValue>.AlternateLookup<TAlternateKey>.TryGetValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za