ArcFM Desktop Developer Guide
InsertCommand Method


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

The desired insert location in the Command collection.
The key of the Command to insert.
Inserts a new Command, defined by its unique key, into the list of Commands.
Syntax
'Declaration
 
Public Function InsertCommand( _
   ByVal index As Integer, _
   ByVal key As String _
) As Command
'Usage
 
Dim instance As CommandBarCommandCollection
Dim index As Integer
Dim key As String
Dim value As Command
 
value = instance.InsertCommand(index, key)
public Command InsertCommand( 
   int index,
   string key
)

Parameters

index
The desired insert location in the Command collection.
key
The key of the Command to insert.

Return Value

A reference to the inserted 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