Newer Version Available

This content describes an older version of this product. View Latest

getRedirect()

Returns the current value of the PageReference object's redirect attribute.

Signature

public Boolean getRedirect()

Return Value

Type: Boolean

Usage

Note that if the URL of the PageReference object is set to a website outside of the salesforce.com domain, the redirect always occurs, regardless of whether the redirect attribute is set to true or false.