UltimateEditor Class Library

ToolbarList.IndexOf Method 

Returns the zero-based index of the first occurrence of a toolbar in the ToolbarList.

[Visual Basic]
Public Function IndexOf( _
   ByVal toolbar As Toolbar _
) As Integer
[C#]
public int IndexOf(
   Toolbar toolbar
);

Parameters

toolbar
The toolbar to locate in the ToolbarList.

Return Value

The zero-based index of the first occurrence of toolbar within the entire ToolbarList, if found; otherwise, -1.

See Also

ToolbarList Class | Karamasoft.WebControls.UltimateEditor Namespace