Dundas.SharePoint.Charting.WebParts Send comments on this topic.
IndexOf(Command) Method
See Also 
Dundas.Charting.WebControl Namespace > CommandUIItemCollection Class > IndexOf Method : IndexOf(Command) Method


value
The Command to be located in the collection.
Gets the index position of the specified Command in the CommandUIItemCollection.

Syntax

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

Parameters

value
The Command to be located in the collection.

Return Value

Index position or -1 if not found

Remarks

The CommandUIItemCollection will be scaned until CommandUIItem assosiated with the Command is found. If there is two CommandUIItem assosiated with a same Command, the first occurence will be returned.

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