RowCollection

ภาพรวม

RowCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ .NET. ทายาทจาก: IRowCollection, IEnumerable<IRow>.

แสดงให้เห็นถึงการรวมแถวในตาราง.

หมวดนี้ให้ 4 วิธีในการทํางานกับ RowCollection วัตถุในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: AddClone, GetEnumerator, InsertClone, RemoveAt. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for .Net. คุณสมบัติ: AsICollection, AsIEnumerable, Count.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
Countintอ่านรับจำนวน.
AsICollectionIList<IRow>อ่านรับสำเนาแบบตื้นของแถวทั้งหมดเป็นรายการ.
AsIEnumerableIEnumerable<IRow>อ่านรับ enumerable ของแถว.

วิธีการ

Signatureคําอธิบาย
AddClone(templ: IRow, withAttachedRows: bool)เพิ่มคลอนของ IRow ที่ได้รับ, โดยเลือกรวมแถวที่ติดต่อ
InsertClone(index: int, templ: IRow, withAttachedRows: bool)การใส่ IRow ที่คลอนไว้ในอัตรานิยมที่ระบุ, โดยเลือกได้พร้อมกับแถวติดต่อ
RemoveAt(firstRowIndex: int, withAttachedRows: bool)เรียก RemoveAt ((firstRowIndex, withAttachedRows) ในตัวอย่างนี้ RowCollection.
GetEnumerator()เรียก GetEnumerator ในตัวอย่างนี้ RowCollection.

ดูเช่นกัน

 ภาษาไทย