IndexOf(TiffTag) Method (TiffTagCollection)
Determines the index of a specific item in the
TiffTagCollection
'Declaration
Public Function IndexOf( _
ByVal As TiffTag _
) As System.Int32
public System.Int32 IndexOf(
TiffTag
)
public: System.Int32 IndexOf(
TiffTag*
)
public:
System.Int32 IndexOf(
TiffTag^
)
Parameters
- item
- The object to locate in the TiffTagCollection.
Return Value
The index of item if found in the list; otherwise, -1.
If an object occurs multiple times in the list, the IndexOf method always returns the first instance found.
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5