Class PropertyKeyedCollection

Class PropertyKeyedCollection

اسم الفضاء : Aspose.Tasks.Properties تجميع: Aspose.Tasks.dll (25.4.0)

فئة أساسية من جمع الممتلكات.

public abstract class PropertyKeyedCollection<t> : PropertyCollection<t>, ICollection<t>, IEnumerable<t>, IEnumerable where T : Property

نوع المعلمات

T

نوع الممتلكات .

Inheritance

object PropertyCollection PropertyKeyedCollection

Implements

ICollection , IEnumerable , IEnumerable

الأعضاء الموروثين

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PropertyKeyedCollection()

يبدأ مثالًا جديدًا من الدرجة Aspose.Tasks.Properties.PropertyKeyedCollection`1.

protected PropertyKeyedCollection()

Properties

Count

يحصل على عدد الممتلكات في المجموعة.

public int Count { get; }

قيمة الممتلكات

int

IsReadOnly

يحصل على قيمة تشير إلى ما إذا كانت هذه المجموعة قراءة فقط؛ وإلا، وهمية.

public abstract bool IsReadOnly { get; }

قيمة الممتلكات

bool

Names

يحصل على مجموعة جميع أسماء الممتلكات.

public ICollection<string> Names { get; }

قيمة الممتلكات

ICollection &lt؛ string >

هذا[الستار]

يحصل على الممتلكات المرتبطة بالمفتاح المحدد.

public T this[string name] { get; protected set; }

قيمة الممتلكات

T

Methods

Add(T)

إنشاء ممتلكات مخصصة جديدة

public void Add(T item)

Parameters

item T

الممتلكات التي يجب إضافتها

Contains(الستار)

يحدد ما إذا كان Aspose.Tasks.Properties.PropertyCollection`1 يحتوي على ممتلكات مع الاسم المحدد.

public bool Contains(string name)

Parameters

name string

اسم الممتلكات

Returns

bool

صحيح إذا كان Aspose.Tasks.Properties.PropertyCollection`1 يحتوي على ممتلكات مع الاسم المحدد؛ وإلا، وهمية.

 عربي