System::Collections::Generic::DictionaryPtr κλάση
DictionaryPtr class
Dictionary pointer class with operator overloads. This type is a pointer to manage other object’s deletion. It should be allocated on stack and passed to functions either by value or by const reference.
template<typename T,typename V>class DictionaryPtr : public System::SmartPtr<Dictionary<T, V>>
| Parameter | Περιγραφή |
|---|
| T | Τύπος κλειδιού. |
| V | Τύπος τιμής. |
Μέθοδοι
| Μέθοδος | Περιγραφή |
|---|
| DictionaryPtr() | Αρχικοποιεί δείκτη null. |
| DictionaryPtr(const SharedPtr<Dictionary<T, V>>&) | Μετατρέπει τύπο δείκτη. |
| operator[](const X&) const | Τελεστής πρόσβασης για εργασία με μετατροπή τύπου κλειδιού. |
| operator[](const T&) const | Τελεστής πρόσβασης. |
Δείτε επίσης