function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AjjuAjju 

what is Pagereference ?

thisisnotaprilthisisnotapril
Hi Ajju, you need to spend some time looking over the training materials we have on this site. https://developer.salesforce.com/page/Wiki
Ashish_SFDCAshish_SFDC
Hi Ajay, 


Page reference is used in Visualforce to Redirect to other page / link or Visualforce page. 

See the article below, 

Defining Navigation Methods

In a custom controller or controller extension, you can refer to or instantiate a PageReference in one of the following ways:
Page.existingPageName

PageReference pageRef = new PageReference('partialURL');

PageReference pageRef = new PageReference('fullURL');

PageReference pageRef = new PageReference('http://www.google.com');

https://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_controller_navigation_methods.htm


Regards,
Ashish