Searches by CommandID for the Command and its sub-commands.
Syntax
Visual Basic (Declaration) |
|
Public Overloads Function FindCommand( _
ByVal id As Integer _
) As Command |
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