ActionCollection

ActionCollection

ภาพรวม

ActionCollection เป็นคลาสใน Aspose.PDF FOSS สําหรับ .NET. ทายาทจาก: IEnumerable<PdfAction>.

การรวบรวมการกระทําที่เกี่ยวข้องกับคําอธิบาย.

หมวดนี้ให้ 8 วิธีในการทํางานกับวัตถุ ActionCollection ในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: Add, Clear, Contains, CopyTo, Delete, GetEnumerator, Remove. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.PDF FOSS for .Net. คุณสมบัติ: Count, IsReadOnly, IsSynchronized, SyncRoot.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
Countintอ่านจํานวนการกระทําในคอลเลกชั่น.
IsReadOnlyboolอ่านรับค่า is read only.
IsSynchronizedboolอ่านรับค่า is synchronized.
SyncRootobjectอ่านรับ sync root.

วิธีการ

Signatureคําอธิบาย
Delete(index: int)ลบการกระทําที่อัตรานิยม 1 ที่กําหนด (ตรงกับ .NET Aspose.PDF API).
Delete()ปล่อยการกระทําทุก (คลี / A ทั้งหมด).
Add(action: PdfAction)เพิ่มการกระทําให้กับคอลเลกชั่น.
Contains(item: PdfAction)เรียก Contains(item) ในตัวอย่าง ActionCollection นี้.
CopyTo(array: PdfAction[], index: int)เรียก CopyTo ((array, index) ในตัวอย่างนี้ ActionCollection.
Remove(item: PdfAction)เรียก Remove(item) ในตัวอย่าง ActionCollection นี้.
Clear()เรียก Clear ในตัวอย่าง ActionCollection นี้.
GetEnumerator()เรียก GetEnumerator ในตัวอย่างนี้ ActionCollection.

ดูเช่นกัน

 ภาษาไทย