Dundas.SharePoint.Charting.WebParts Send comments on this topic.
FindCommand(Int32) Method
See Also  Example
Dundas.Charting.WebControl Namespace > CommandCollection Class > FindCommand Method : FindCommand(Int32) Method


id
The CommandID of the Command to search.
Searches by CommandID for the Command and its sub-commands.

Syntax

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

Parameters

id
The CommandID of the Command to search.

Return Value

Command reference or null if not found

Example

C# Copy Code
chart1.UI.Commands.Find( (int) ChartCommandType.Properties);
VB.Net Copy Code
chart1.UI.Commands.Find(CType(ChartCommandType.Properties, Integer))

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