PageReference(record)
Generate a new instance of the PageReference class for the specified sObject record.
public PageReference(SObject record)
- record: Type: SObject The sObject record that references the
ApexPage. The reference must be anApexPage.
See Also