الفئة System::Collections::IListImplRefType

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 overrideICollection.get_Count() تنفيذ الطريقة يحصل على عدد العناصر في المجموعة.
GetEnumerator() overrideIEnumerable.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>)تحويل قيمة الكائن إلى مرجع نوع معين.

انظر أيضًا