ControlCollection.IndexOf Method

Include Protected Members
Include Inherited Members

Returns 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.

Overload List

  Name Description
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

See Also

Reference

ControlCollection Interface

Microsoft.Office.Tools.Word Namespace