System::Collections::IListImplRefType class

IListImplRefType class

نموذج أولي ينفّذ واجهة System::Collections::IList على كائن System::Collections::Generic::List. تنفيذ للأنواع المرجعية.

template<typename T>class IListImplRefType : public virtual System::Collections::IList

الطرق

طريقةالوصف
Add(SharedPtr<System::Object>) overrideيضيف عنصرًا إلى نهاية القائمة.
static BoxValue(System::SharedPtr<T>)تحويل مرجع النوع إلى قيمة كائن إلى كائن.
Clear() overrideيحذف جميع العناصر.
Contains(SharedPtr<System::Object>) const overrideيتحقق مما إذا كان العنصر موجودًا في القائمة.
get_Count() const overrideتنفيذ طرق ICollection.get_Count() يحصل على عدد العناصر في المجموعة.
GetEnumerator() overrideتنفيذ IEnumerable.GetEnumerator() يُرجع مُعددًا يتنقل عبر المجموعة.
idx_get(int, int) const overrideيحصل على العنصر في الفهرس المحدد.
IListImplRefType(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<T>>>)ينشئ نسخة جديدة من الكائن.
IndexOf(System::SharedPtr<System::Object>) const overrideيحصل على فهرس الظهور الأول للعنصر في الحاوية.
Insert(int, System::SharedPtr<System::Object>) overrideيدخل العنصر في الموضع المحدد، مع إزاحة العناصر الأخرى.
Remove(SharedPtr<System::Object>) overrideيزيل أول نسخة من العنصر المحدد من القائمة.
RemoveAt(int) overrideيزيل العنصر في الموضع المحدد.
static UnboxValue(System::SharedPtr<System::Object>)تحويل قيمة الكائن إلى مرجع نوع معين.

انظر أيضًا