forResource(resourceName)

Create a PageReference for a static resource, by name.

public static System.PageReference forResource(String resourceName)

  • resourceName: Type: String The resource name

Type: System.PageReference