| Parameter | Description |
|---|---|
| container | The container to search. |
| value | The value to locate. |
int The index of the first occurrence of the value in this container. Returns -1 if no occurrence is found.
Finds the index of the first occurrence of a particular value in this container.
| Parameter | Description |
|---|---|
| container | The container to search. |
| value | The value to locate. |
int The index of the first occurrence of the value in this container. Returns -1 if no occurrence is found.
Finds the index of the first occurrence of a particular value in this container.
| Parameter | Description |
|---|---|
| ptr | A buffer. |
| length | Number of elements in the buffer. |
| value | The value to locate. |
int The index of the first occurrence of the value in the buffer. Returns -1 if no occurrence is found.
Finds the index of the first occurrence of a particular value in a buffer.
| Parameter | Description |
|---|---|
| roSpan | A ReadOnlySpan. |
| value | The value to locate. |
int The index of the first occurrence of the value in the buffer. Returns -1 if no occurrence is found.
Finds the index of the first occurrence of a particular value in a buffer.