getRecords()

Returns the list of sObjects in the current page set. This list is immutable, i.e. you can't call clear() on it.

Signature

public sObject[] getRecords()

Return Value

Type: sObject[]