FormFix v6.0 for .NET - Updated
IndexOf Method (OmrBubbleResultCollection)



Accusoft.FormFixSdk Namespace > OmrBubbleResultCollection Class : IndexOf Method
The element to search for in the collection.
Determines whether the specified element is in the collection and returns its index.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As OmrBubbleResult _
) As Integer
'Usage
 
Dim instance As OmrBubbleResultCollection
Dim value As OmrBubbleResult
Dim value As Integer
 
value = instance.IndexOf(value)
public int IndexOf( 
   OmrBubbleResult value
)
public:
int IndexOf( 
   OmrBubbleResult^ value
) 

Parameters

value
The element to search for in the collection.

Return Value

If the element is present in the collection, this method will return the zero-based index of the first occurrence of it; otherwise this method will return -1.
Remarks
This method implements a standard collection operation. It searches the collection for a reference to the given element. If it finds a reference to it, it will return its index. If it cannot find a reference to it, this method will return -1. If the element is present more than once in the collection, this method will return the lowest index of a match.
See Also

Reference

OmrBubbleResultCollection Class
OmrBubbleResultCollection Members
Contains Method

Is this page helpful?
Yes No
Thanks for your feedback.