Searches for a
Command and its sub-commands by name.
Searches by name for the Command and its sub-commands.
Syntax
Visual Basic (Usage) |
Copy Code |
Dim instance As CommandCollection
Dim commandName As String
Dim value As Command
value = instance.FindCommand(commandName)
|
Parameters
- commandName
- The name of the command to search for.
The name of the command to search.
Return Value
Command object reference, or
null (
Nothing) if not found.
Command reference or null if not found
Example
Remarks
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