Inserts the path at the specified index.
- Namespace
- Statiq
.Common - Containing Type
- PathCollection
Syntax
public bool Insert(int index, NormalizedPath path, bool removable)
Parameters
Name | Type | Description |
---|---|---|
index | int | The index where the path should be inserted. |
path | NormalizedPath | The path to insert. |
removable | bool | Indicates if this path can be removed from the collection. |
Return Value
Type | Description |
---|---|
bool | true if the collection did not contain the path and it was inserted, otherwise false . |