Dundas.SharePoint.Charting.WebParts Send comments on this topic.
IndexOf Method
See Also 
Dundas.Charting.WebControl Namespace > CommandCollection Class : IndexOf Method


value
The command object to locate in the collection.
Returns the zero-based index of the first occurrence of a Command in the CommandCollection.

Syntax

Visual Basic (Declaration)  
Public Function IndexOf( _
   ByVal value As Command _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As CommandCollection
Dim value As Command
Dim value As Integer
 
value = instance.IndexOf(value)
C#  
public int IndexOf( 
   Command value
)

Parameters

value
The command object to locate in the collection.

Return Value

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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also