Dundas Chart for ASP.NET
FindCommand(ChartCommandType) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > CommandCollection Class > FindCommand Method : FindCommand(ChartCommandType) Method


type
The command type to search for.
The command type to search.
Enterprise Only Feature. Searches by ChartCommandType for a command and its sub-commands.
Searches by ChartCommandType for the Command and its sub-commands.

Syntax

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

Parameters

type
The command type to search for.
The command type to search.

Return Value

Command object reference, or null (Nothing) if not found.
Command object reference or null if not found

Remarks

This method will search for a pre-defined command.

To search for a user-defined command use the definition that takes a Command object or name of a command.


This method will search predefined command. In order to search user-defined command use FindCommand by Command Command.Name or Command Command.CommandID.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.