GlyphCollection.IndexOf(Glyph) Method

Definition

Returns the index of a Glyph in the GlyphCollection.

public:
 int IndexOf(System::Windows::Forms::Design::Behavior::Glyph ^ value);
public int IndexOf (System.Windows.Forms.Design.Behavior.Glyph value);
member this.IndexOf : System.Windows.Forms.Design.Behavior.Glyph -> int
Public Function IndexOf (value As Glyph) As Integer

Parameters

value
Glyph

The Glyph to locate.

Returns

The index of the Glyph of value in the GlyphCollection, if found; otherwise, -1.

Applies to