StandardSetController(queryLocator)

Creates an instance of the ApexPages.StandardSetController class for the list of objects returned by the query locator.

Signature

public StandardSetController(Database.QueryLocator queryLocator)

Parameters

queryLocator
Type: Database.QueryLocator
A query locator representing a list of sObjects.