Class PropertyKeyedCollection

Class PropertyKeyedCollection

İsim alanı : Aspose.Tasks.Properties Toplantı: Aspose.Tasks.dll (25.4.0)

Temel bir mülk toplama sınıfı.

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

Parametreler türü

T

Bir mülk türü.

Inheritance

object PropertyCollection PropertyKeyedCollection

Implements

ICollection , IEnumerable , IEnumerable

mirasçı üyeleri

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 sınıfının yeni bir örneğini başlatır.

protected PropertyKeyedCollection()

Properties

Count

Koleksiyonda bulunan mülklerin sayısını alır.

public int Count { get; }

Mülkiyet Değer

int

IsReadOnly

Bu koleksiyonun sadece okunduğunu gösteren bir değer alır; aksi takdirde, sahte.

public abstract bool IsReadOnly { get; }

Mülkiyet Değer

bool

Names

Tüm mülk isimlerinin koleksiyonunu alır.

public ICollection<string> Names { get; }

Mülkiyet Değer

ICollection &lt için; string >

bu[Sırt]

Belirlenen anahtarla ilişkili mülk alır.

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

Mülkiyet Değer

T

Methods

Add(T)

Yeni bir özel mülk oluşturur.

public void Add(T item)

Parameters

item T

Ekleyecek olan mülk.

Contains(Sırt)

Aspose.Tasks.Properties.PropertyCollection`1’in belirtilen adı olan bir mülk olup olmadığını belirler.

public bool Contains(string name)

Parameters

name string

Bir mülkün adı

Returns

bool

Doğru eğer Aspose.Tasks.Properties.PropertyCollection`1 belirtilen adı olan bir mülk içerir; aksi takdirde, sahte.

 Türkçe