This documentation is archived and is not being maintained.

ControlCollection.IndexOf Method (2007 System)

Gets the zero-based index of the first occurrence of a control in the ControlCollection instance.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method IndexOf(Object) Searches for the specified control and returns the zero-based index of the first occurrence in the ControlCollection instance.
Public method IndexOf(String) Searches for the first occurrence of a control with the specified name in the ControlCollection instance.
Top
Show: