Version

Add Method (HiddenColumnCollection)

Adds a column to the collection.
Syntax
'Declaration
 
Public Sub Add( _
   ByVal column As WorksheetColumn _
) 
public void Add( 
   WorksheetColumn column
)

Parameters

column
The column to be added to the hidden columns collection.
Exceptions
ExceptionDescription
System.ArgumentNullExceptioncolumn is null.
System.ArgumentExceptioncolumn does not belong to the same worksheet this collection is associated with.
Remarks

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.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also