IndexOf Method (LabelsCollection)
Determines the index of a specific item in the
LabelsCollection.
'Declaration
Public Function IndexOf( _
ByVal As Label _
) As System.Integer
public System.int IndexOf(
Label
)
Parameters
- lbl
- The object to locate in the LabelsCollection.
Return Value
The index of value if found in the
LabelsCollection; otherwise, -1.