System::Collections::Generic::IDictionary::TryGetValue metod

IDictionary::TryGetValue method

Söker efter värdet och hämtar det om det hittas.

virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::TryGetValue(const TKey &key, TValue &value) const =0
ParameterTypeBeskrivning
nyckelconst TKey&Nyckel att söka efter.
valueTValue&Referens att lagra det hämtade värdet i.

ReturnValue

Sant om värdet hittades och hämtades, falskt annars.

Se även