Class PropertyKeyedCollection

Class PropertyKeyedCollection

Nama dari : Aspose.Tasks.Properties Perhitungan: Aspose.Tasks.dll (25.4.0)

Kelas dasar dari koleksi properti.

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

Jenis Parameter

T

Jenis dari Properti.

Inheritance

object PropertyCollection PropertyKeyedCollection

Implements

ICollection , IEnumerable , IEnumerable

anggota yang diwarisi

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

Constructors

PropertyKeyedCollection()

Initifikasi instans baru dari Aspose.Tasks.Properties.PropertyKeyedCollection` kelas 1.

protected PropertyKeyedCollection()

Properties

Count

Dapatkan jumlah properti dalam koleksi.

public int Count { get; }

Nilai Properti

int

IsReadOnly

Dapatkan nilai yang menunjukkan apakah koleksi ini hanya dibaca; jika tidak, palsu.

public abstract bool IsReadOnly { get; }

Nilai Properti

bool

Names

Dapatkan koleksi semua nama properti.

public ICollection<string> Names { get; }

Nilai Properti

ICollection dan lt; string >

ini[String]

Dapatkan Properti yang terkait dengan kunci yang ditentukan.

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

Nilai Properti

T

Methods

Add(T)

Mencipta properti yang baru.

public void Add(T item)

Parameters

item T

Properti yang harus ditambahkan.

Contains(String)

Menentukan apakah Aspose.Tasks.Properties.PropertyCollection`1 mengandung properti dengan nama yang ditentukan.

public bool Contains(string name)

Parameters

name string

Nama dari Properti

Returns

bool

benar jika Aspose.Tasks.Properties.PropertyCollection`1 mengandung properti dengan nama yang ditentukan; jika tidak, palsu.

 Indonesia