Adds the path to the set of paths to match against.
Namespace:
EPiServer.WebAssembly: EPiServer (in EPiServer.dll) Version: 6.0.530.0
Syntax
| C# |
|---|
public void AddPath( string path ) |
Parameters
- path
- Type: System..::.String
The path to add.
Remarks
If the path starts with a tilde ('~') it will be expanded to contain the actual application root.
The path is interpreted as a directory if it ends with a '/'. Adding a path such as "/abc/" will match against anything that starts with "/abc/", such as "/abc/def/ghi.html".
If the path does not end with a '/' it is interpreted as a file. Adding a file will only match against the exact path added.