'Usage Dim instance As FormModelCollection Dim value As FormModel Dim value As Integer value = instance.IndexOf(value)
public: int IndexOf( FormModel* value )
public: int IndexOf( FormModel^ 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.