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 < 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 มีคุณสมบัติที่มีชื่อที่ระบุ; ในทางอื่น ๆ, จริง.

 แบบไทย