Version

Search Results

HiddenColumnCollection Class

A collection of hidden WorksheetColumn instances. Syntax Remarks The columns in this collection do not necessarily have their RowColumnBase.Hidden property set to True. This collection applies to a Worksheet, but belongs to a CustomView. When the CustomView which owns this collection is applied, the columns in thi...

HiddenColumnCollection Class Members

Public Properties Public Methods

Add Method (HiddenColumnCollection)

Adds a column to the collection. Syntax Parameters column The column to be added to the hidden columns collection. Exceptions Exception Description System.ArgumentNullException column is null. System.ArgumentException column does not belong to the same worksheet this collection is associated with. Remarks This col...

Clear Method (HiddenColumnCollection)

Clears all columns from the collection. Syntax

Contains Method (HiddenColumnCollection)

Determines whether the specified column exists in the collection. Syntax Parameters column The column to search for in the collection. Return Value True if the column exists in the collection; False otherwise or if the specified column is null.

Count Property (HiddenColumnCollection)

Gets the number of columns in the collection. Syntax Property Value The number of columns in the collection.

Item Property (HiddenColumnCollection)

Gets the column at the specified index. Syntax Parameters index The zero-based index of the column to get. Property Value The column at the specified index. Exceptions Exception Description System.ArgumentOutOfRangeException index is less than zero or index is greater than or equal to Count.

Remove Method (HiddenColumnCollection)

Removes the specified column from the collection if it exists. Syntax Parameters column The column to removed from the collection. Return Value True if the column existed in the collection and was removed; False otherwise or if the specified column is null.