- item
- The CaptureSize item to locate in the IList.
| 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.This method searches the underlying item collection to locate the desired item.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code