StandardController(controllerSObject)

Creates a new instance of the ApexPages.StandardController class for the specified standard or custom object.

Signature

public StandardController(SObject controllerSObject)

Parameters

controllerSObject
Type: SObject
A standard or custom object.