Web Page - PathParameters Property

A read-only property that provides access to an instance of the PRIM_WEB.RoutingPathParameters class

Member of Web Page (PRIM_WEB)

Details

The PathParameters property is a read-only property that provides access to an instance of the PRIM_WEB.RoutingPathParameters class. 

The PRIM_WEB.RoutingPathParameters class has a read-write collection of the PRIM_WEB.RoutingPathParameter components.

Each instance of the PRIM_WEB.RoutingPathParameter class contains a Name/Value pair with the name corresponding to the name assigned to the path variable and the value corresponding to the actual value for the variable in the current URL path component.

Example

The path “/Categories/Fluffy/Products/P123” for the path “Categories/{CategoryId}/Products/{ProductId}” supplies the value “Fluffy” for the parameter named CategoryId and “P123” for the parameter named ProductId.

See also

All Component Classes

Technical Reference

LANSA Version 15, February 2021