'Declaration Public Sub Add( _ ByVal column As WorksheetColumn _ )
public void Add( WorksheetColumn column )
Exception | Description |
---|---|
System.ArgumentNullException | column is null. |
System.ArgumentException | column does not belong to the same worksheet this collection is associated with. |
This collection does not allow duplicate values. If the specified column already exists in the collection, nothing will happen. This collection also keeps itself sorted, so the column added will not necessarily be added at the end of the collection.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2