CvSeqElemIdxT Method (T, CvSeqBlock) OpenCvSharp Class Library
Returns index of concrete sequence element (cvSeqElemIdx).

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public int ElemIdx<T>(
	T element,
	out CvSeqBlock block
)
where T : struct, new()

Parameters

element
Type: T
the element within the sequence.
block
Type: OpenCvSharpCvSeqBlock
the address of the sequence block that contains the element is stored in this location.

Type Parameters

T
Element type

Return Value

Type: Int32
the index of a sequence element or a negative number if the element is not found.
See Also

Reference