ComponentOne WebMenus and WebBars for ASP.NET (2.0) Search HelpCentral 

C1WebCollectionBase.IndexOf Method

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

[Visual Basic]

Public Function IndexOf( _

ByVal value As Object _

) As Integer

[C#]

public int IndexOf(

object value

);

[Delphi]

public function IndexOf(

value: Object

): Int32;

Parameters

value

The item to locate in the collection.

Return Value

The zero-based index of the first occurrence of item in the collection, if found; otherwise, -1

See Also

C1WebCollectionBase Class | C1WebCollectionBase Members | C1.Web.Command Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.