C1.Xaml.Excel Assembly > C1.Xaml.Excel Namespace : XLColumnCollection Class |
'Declaration Public Class XLColumnCollection
'Usage Dim instance As XLColumnCollection
public class XLColumnCollection
The collection has methods for counting, enumerating, adding, and removing columns from the collection.
The XLColumn objects do not contain any data. If you remove a column from the collection, the data will be lost. If you later re-insert that same column back into the collection, the column will be blank.
C1XLBook book = new C1XLBook(); XLSheet sheet = book.Sheets[0]; XLCell cell = sheet[3,3]; // creates 4 rows and 4 columns
System.Object
C1.Xaml.Excel.XLColumnCollection