
## IndexOf {#indexof}

Returns index of WeekDay specified.

**Returns:** Zero-based index of WeekDay specified, if present, or -1 otherwise.

```cpp
IndexOf(const System::SharedPtr< WeekDay > & item)
```

| Parameter | Description |
| --- | --- |
| item | The item to check against to. |

