Method IndexOf
IndexOf(Metadata)
Returns the zero-based index of the first occurrence of the specified metadata entry in the collection.
public int IndexOf(Metadata item)
Parameters
item
MetadataThe metadata entry to locate in the collection.
Returns
- int
The zero-based index of the first occurrence of the metadata entry within the entire collection, if found; otherwise, -1.