Adds a data object, which implements the IList interface on the top hierarchical level. Such object will be automatically associated with the ListDataAccessor
Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public Row Add( IList collection ) |
Visual Basic |
---|
Public Function Add ( collection As IList ) As Row |
Visual C++ |
---|
public: Row^ Add( IList^ collection ) |
F# |
---|
member Add : collection : IList -> Row |
Parameters
- collection
- Type: System.Collections..::..IList
The data object.
Return Value
Type: RowA new Row, having the data object if success; Otherwise null. The returned Row may be used to build any hierarchy in the Grid.
Thread Safety
The function is thread safe. The Row is added in the synchronous way with blocking the calling thread.