See Also

ToolbarItemCollection Class  | ToolbarItemCollection Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

value
The object to locate in the collection.
See Also Languages PowerWEB TextBox for ASP.NET

IndexOf(BaseToolbarItem) Method

Dart.PowerWEB.TextBox Namespace > ToolbarItemCollection Class > IndexOf Method : IndexOf(BaseToolbarItem) Method

Searches the collection for the object and returns the zero-based index of the first occurrence within the collection.

[Visual Basic]
Overloads Public Function IndexOf( _    ByVal value As BaseToolbarItem _ ) As Integer
[C#]
public int IndexOf(    BaseToolbarItem value );
[C++]
public: int IndexOf(    BaseToolbarItem* value )
[C++/CLI]
public: int IndexOf(    BaseToolbarItem^ value )

Parameters

value
The object to locate in the collection.

Return Type

The zero-based index of the object if it is found; -1 if the object is not found in the collection.

Remarks

The collection is searched forward starting at the first element and ending at the last element.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

ToolbarItemCollection Class  | ToolbarItemCollection Members  | Overload List


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.