ArcFM Engine Developer Guide
AddCommand Method


The key which uniquely identifies a command.
Adds a new Command, defined by its unique key, to the list of Commands.
Syntax
'Declaration
 
Public Function AddCommand( _
   ByVal key As String _
) As Command
'Usage
 
Dim instance As CommandBarCommandCollection
Dim key As String
Dim value As Command
 
value = instance.AddCommand(key)
public Command AddCommand( 
   string key
)

Parameters

key
The key which uniquely identifies a command.

Return Value

A reference to the added command; else null if the key is not found in the list of Commands.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

CommandBarCommandCollection Class
CommandBarCommandCollection Members

 

 


Send Comment