LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
IndexOf(CaptureSize) Method
See Also 
Leadtools.Multimedia Namespace > CaptureSizes Class > IndexOf Method : IndexOf(CaptureSize) Method



item
The CaptureSize item to locate in the IList.
item
The CaptureSize item to locate in the IList.
Determines the index of a specific CaptureSize item in the IList.

Syntax

Visual Basic (Declaration) 
Overloads Public Function IndexOf( _
   ByVal item As CaptureSize _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As CaptureSizes
Dim item As CaptureSize
Dim value As Integer
 
value = instance.IndexOf(item)
C# 
public int IndexOf( 
   CaptureSize item
)
C++/CLI 
public:
int IndexOf( 
   CaptureSize^ item
) 

Parameters

item
The CaptureSize item to locate in the IList.

Return Value

The zero-based index of the found item; otherwise, -1 if no item found.

Remarks

This method searches the underlying item collection to locate the desired item.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also