NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ControlCollection.IndexOf

Returns the index of a specified Control object in the collection.

[Visual Basic]
Overridable Public Function IndexOf( _
   ByVal value As Control _
) As Integer
[C#]
public virtual int IndexOf(
   Control value
);
[C++]
public: virtual int IndexOf(
   Control* value
);
[JScript]
public function IndexOf(
   value : Control
) : int;

Parameters

value
[To be supplied.]

Return Value

The index of the specified control.-1 if the control is not currently a member of the collection.

See Also

ControlCollection Class | ControlCollection Members | System.Web.UI Namespace