delete()

Deletes record and returns the PageReference of the delete page.

Signature

public System.PageReference delete()

Return Value

Type: System.PageReference