'Declaration Public Sub Add( _ ByVal row As WorksheetRow _ )
public void Add( WorksheetRow row )
Exception | Description |
---|---|
System.ArgumentNullException | row is null. |
System.ArgumentException | row does not belong to the same worksheet this collection is associated with. |
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.
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