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



Accusoft.FormFixSdk Namespace > OmrSegmentModelCollection 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 OmrSegmentModel _
) As Integer
'Usage
 
Dim instance As OmrSegmentModelCollection
Dim value As OmrSegmentModel
Dim value As Integer
 
value = instance.IndexOf(value)
public int IndexOf( 
   OmrSegmentModel value
)
public:
int IndexOf( 
   OmrSegmentModel^ 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

OmrSegmentModelCollection Class
OmrSegmentModelCollection Members
Contains Method

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