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