'Declaration Public Function IndexOf( _
ByVal itemThe element to locate in the panel.As RectangleFigure _
) As System.Int32
public System.Int32 IndexOf(
RectangleFigure item
)
public: System.Int32 IndexOf(
RectangleFigure* item
)
public:
System.Int32 IndexOf(
RectangleFigure^ item
)
Parameters
- item
- The element to locate in the panel.
Return Value
The index of element if element is found in the panel; otherwise, -1.