GrapeCity MultiRow Windows Forms Documentation
Add() Method


Adds a new row to the collection
Syntax
<FeatureAttribute(Name="RowCollection", Version="v5.0")>
Public Overloads Overridable Function Add() As Integer
Dim instance As RowCollection
Dim value As Integer
 
value = instance.Add()
[Feature(Name="RowCollection", Version="v5.0")]
public virtual int Add()

Return Value

A System.Int32 that indicates the index of the new row.
Exceptions
ExceptionDescription
System.InvalidOperationException

When Template is a null reference (Nothing in Visual Basic).

-or-

The DataSource property of the GcMultiRow control is not a null reference (Nothing in Visual Basic).

Requirements

Target Platforms: 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

See Also

Reference

RowCollection Class
RowCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.