Version

Add Method (HiddenRowCollection)

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

Parameters

row
The row to be added to the hidden rows collection.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionrow is null.
System.ArgumentExceptionrow does not belong to the same worksheet this collection is associated with.
Remarks

This collection does not allow duplicate values. If the specified row already exists in the collection, nothing will happen. This collection also keeps itself sorted, so the row 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