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

type
The ToolbarItemType to locate in the collection.
See Also Languages PowerWEB TextBox for ASP.NET

IndexOf(ToolbarItemType) Method

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

Searches the collection for a BaseToolbarItem based on the Type property and returns the zero-based index of the first occurrence within the collection.

[Visual Basic]
Overloads Public Function IndexOf( _    ByVal type As ToolbarItemType _ ) As Integer
[C#]
public int IndexOf(    ToolbarItemType type );
[C++]
public: int IndexOf(    ToolbarItemType type )
[C++/CLI]
public: int IndexOf(    ToolbarItemType type )

Parameters

type
The ToolbarItemType to locate in the collection.

Return Type

The zero-based index of the object if an object with a Type property matching type is found; -1 if not found.

Remarks

The collection is searched forward starting at the first element and ending at the last element. The Type property of each BaseToolbarItem is compared against type.

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.