Class ExtendedAttributeCollection

Class ExtendedAttributeCollection

ชื่อพื้นที่: Aspose.Tasks การประกอบ: Aspose.Tasks.dll (25.4.0)

แสดงการประกอบของ Aspose.Tasks.ExtendedAttribute วัตถุ

public class ExtendedAttributeCollection : IList<extendedattribute>, ICollection<extendedattribute>, IEnumerable<extendedattribute>, IEnumerable

Inheritance

object ExtendedAttributeCollection

Implements

IList , ICollection , IEnumerable , IEnumerable

อนุญาโตตุลาการ

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

Properties

Count

รับจํานวนองค์ประกอบที่อยู่ในคอลเลกชันนี้

public int Count { get; }

คุณสมบัติมูลค่า

int

IsReadOnly

ได้รับค่าที่แสดงให้เห็นว่าการเก็บรวบรวมนี้จะอ่านเพียง แต่หรือไม่ อย่างไรก็ตามการทําผิดพลาด

public bool IsReadOnly { get; }

คุณสมบัติมูลค่า

bool

นี่[int]

รับหรือตั้งค่าองค์ประกอบในตัวเลขที่ระบุ

public ExtendedAttribute this[int index] { get; set; }

คุณสมบัติมูลค่า

ExtendedAttribute

Methods

Add(ExtendedAttribute)

เพิ่มรายการที่ระบุไปยังคอลเลกชันนี้

public void Add(ExtendedAttribute item)

Parameters

item ExtendedAttribute

รายการที่ระบุเพื่อเพิ่มในรวบรวมนี้

Clear()

ลบรายการทั้งหมดจากคอลเลกชันนี้

public void Clear()

Contains(ExtendedAttribute)

กลับถูกต้องถ้ารายการที่ระบุจะพบในคอลเลกชันนี้ ฯลฯ ไม่ถูกต้อง

public bool Contains(ExtendedAttribute item)

Parameters

item ExtendedAttribute

รายการที่กําหนดเพื่อค้นหา

Returns

bool

จริงถ้ารายการที่ระบุจะพบในคอลเลกชันนี้ อย่างไรก็ตามปลอม

CopyTo(ExtendedAttribute[ ], ฯลฯ)

คัดลอกองค์ประกอบของคอลเลกชันนี้ไปยังแถวที่ระบุเริ่มต้นจากแถวที่ระบุ

public void CopyTo(ExtendedAttribute[] array, int arrayIndex)

Parameters

array ExtendedAttribute [ ]

แถวเดียวที่ระบุเพื่อคัดลอกองค์ประกอบไปยัง

arrayIndex int

อัตราส่วนที่ขึ้นอยู่กับศูนย์ของแถวที่ระบุที่การคัดลอกเริ่มต้น

GetEnumerator()

กลับตัวเลขสําหรับคอลเลกชันนี้

public IEnumerator<extendedattribute> GetEnumerator()

Returns

IEnumerator < ExtendedAttribute >

รายการสําหรับคอลเลกชันนี้

IndexOf(ExtendedAttribute)

กําหนดตัวเลขของรายการที่ระบุไว้ในคอลเลกชันนี้

public int IndexOf(ExtendedAttribute item)

Parameters

item ExtendedAttribute

รายการที่ระบุที่จะพบในคอลเลกชันนี้

Returns

int

อัตราส่วนของรายการที่ระบุหากพบ; ในทางอื่น ๆ, -1.

Insert(int, ExtendedAttribute)

ใส่รายการที่ระบุไว้ใน index ที่ระบุไว้

public void Insert(int index, ExtendedAttribute item)

Parameters

index int

อัตราส่วนที่ระบุด้วยศูนย์ที่รายการจะถูกใส่ไว้

item ExtendedAttribute

รายการที่ระบุที่จะใส่ในรวบรวมนี้

Remove(ExtendedAttribute)

ลบปรากฏตัวครั้งแรกของวัตถุที่เฉพาะเจาะจงจากชุดนี้

public bool Remove(ExtendedAttribute item)

Parameters

item ExtendedAttribute

วัตถุที่ระบุจะถอดออก

Returns

bool

จริงถ้าวัตถุที่ระบุได้รับการกําจัดอย่างประสบความสําเร็จจากคอลเลกชันนี้ ฯลฯ คล้ม

RemoveAt(int)

ลบรายการใน index ที่ระบุไว้

public void RemoveAt(int index)

Parameters

index int

หมายเลขที่กําหนดด้วยศูนย์เพื่อลบรายการที่

 แบบไทย