ReadOnlyListBaseTIndexOf Method |
Determines the index of a specific item in the collection.
Namespace: GroupDocs.Watermark.CommonAssembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 21.3.0
Syntaxpublic virtual int IndexOf(
T item
)
Public Overridable Function IndexOf (
item As T
) As Integer
public:
virtual int IndexOf(
T item
)
abstract IndexOf :
item : 'T -> int
override IndexOf :
item : 'T -> int
Parameters
- item
- Type: T
The item to locate in the collection.
Return Value
Type:
Int32The index of
item if found in the collection; otherwise, -1.
Implements
IListTIndexOf(T)
See Also