Replaces a module at the specified index.
- Namespace
- Statiq
.Common - Containing Type
- ModuleList
Syntax
public ModuleList Replace(int index, IModule module)
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | The index of the module to replace. |
| module | IModule | The replacement module. |
Return Value
| Type | Description |
|---|---|
| ModuleList | The current instance. |