API.RegisterCommand Method

Register commands that can be called from the APPS in IGEMS
Public Shared Sub RegisterCommand( _ 
ByVal uniqueid As String, _ 
ByVal name As String, _ 
ByVal img As Image, _ 
ByVal callback As Action
)
This language is not supported or no code example is available.
public static void RegisterCommand( 
string uniqueid
string name
Image img
Action callback 
)
This language is not supported or no code example is available.
public:  
static void RegisterCommand( 
String^ uniqueid
String^ name
Image^ img
Action^ callback 
)
This language is not supported or no code example is available.
public static function RegisterCommand( 
uniqueid : String
name : String
img : Image
callback : Action 
);
This language is not supported or no code example is available.

Parameters

uniqueid
string

A unique ID for the command

name
string

Display name

img
Image

Optional image for the button

callback
Action

The function to call

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition