05-10-12, 01:24 AM
كاتب المشاركة : samerselo
عناصر الفئةالطرائق
Equals يحدد إذا كان الغرض المحدد مساويا للغرض الحالي
Finalize يتخلص من المرجع إلى الهدف الممثل بالغرض WeakReference الحالي
GetHashCode يخدم كوظيفة تهشير للنوع المحدد
GetObjectData ينشئ غرض SerializationInfo يحتوي على جميع المعلومات التي نحتاجها لتخزين غرض WeakReference الحالي
GetObjectData يعيد نوع المتغير الحالي
MemberwiseClone ينشئ نسخة سطحية من الغرض الحالي
ToString يعيد سلسلة نصية تمثل الغرض الحالي
الخصائص
IsAlive تعيد بيانا فيما إذا كان الغرض الذي يشير إليه غرض WeakReference الحالي قد تم جمعه بواسطة جامع النفايات
Target تعيد أو تضبط الغرض الذي يشير إليه غرض WeakReference الحالي
TrackResurrection تعيد بيانا فيما إذا كان الغرض المشار إليه من قبل الغرض Weakreference الحالي متتبعا بعد أن يتم إنهاؤ ه
وفي نهاية التعريف بالفئة وخصائصها إليكم بعض المعلومات عن هذه الفئة منسوخة كما هي من مكتبة MSDN
Inheritance Hierarchy
System.Object
System.WeakReference
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0
.NET Compact Framework
Supported in: 3.5, 2.0, 1.0
XNA Framework
Supported in: 1.0
System.Object
System.WeakReference
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0
.NET Compact Framework
Supported in: 3.5, 2.0, 1.0
XNA Framework
Supported in: 1.0
