Get entity from datasource by row index.

Namespace: MonoSoftware.MonoX
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public T GetEntityFromDataSourceByRowIndex<T>(
	int rowIndex
)
Visual Basic
Public Function GetEntityFromDataSourceByRowIndex(Of T) ( 
	rowIndex As Integer
) As T
Visual C++
public:
generic<typename T>
T GetEntityFromDataSourceByRowIndex(
	int rowIndex
)
F#
member GetEntityFromDataSourceByRowIndex : 
        rowIndex : int -> 'T 

Parameters

rowIndex
Type: System..::..Int32
Row Index

Type Parameters

T
Type of the entity to return

Return Value

Type: T
If datasource contains specified row entity is returned, otherwise null

See Also