'Usage Dim instance As ButtonCaptionList Dim value As String Dim value As Buttons value = instance.IndexOf(value)
Parameters
- value
- The caption to locate.
Return Value
The zero-based index of the first occurrence of value within the entire list, if found; otherwise, returns -1.