System::Collections::Generic::IDictionary::TryGetValue طريقة
IDictionary::TryGetValue method
يبحث عن القيمة ويسترجعها إذا تم العثور عليها.
virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::TryGetValue(const TKey &key, TValue &value) const =0
| Parameter | Type | الوصف |
|---|---|---|
| المفتاح | const TKey& | المفتاح للبحث عنه. |
| value | TValue& | مرجع لتخزين القيمة المسترجعة فيه. |
ReturnValue
صحيح إذا وُجدت القيمة وتم استرجاعها، وإلا خطأ.
انظر أيضًا
- Class IDictionary
- Namespace System::Collections::Generic
- Library Aspose.Page for C++