Searches by ChartCommandType for the Command and its sub-commands.
Visual Basic (Declaration) | |
---|---|
Public Overloads Function FindCommand( _ ByVal type As ChartCommandType _ ) As Command |
Visual Basic (Usage) | Copy Code |
---|---|
|
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
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.
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