Method IndexOf
IndexOf(void*)
Returns the index of the first occurrence of a specific pointer in the list.
Declaration
public int IndexOf(void* ptr)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | ptr | The pointer to search for in the list. |
Returns
| Type | Description |
|---|---|
| int | The index of the first occurrence of the pointer. Returns -1 if it is not found in the list. |