GetEnumerator
Row.GetEnumerator method
الحصول على تعداد الخلايا
public IEnumerator GetEnumerator()
قيمة الإرجاع
عداد الخلايا
أمثلة
[C#]
Workbook workbook = new Workbook("template.xlsx");
Cells cells = workbook.Worksheets[0].Cells;
IEnumerator en = cells.Rows[1].GetEnumerator();
while (en.MoveNext())
{
Cell cell = (Cell)en.Current;
Console.WriteLine(cell.Name + ": " + cell.Value);
}
أنظر أيضا
- class Row
- مساحة الاسم Aspose.Cells
- المجسم Aspose.Cells