次の方法で共有


ExternalApplication.AddAction(Int32, String, String) Method

Definition

Adds an action to the application's list. An action with id == 1 is the 'default' action and gets called on init. There does not need to be a default action though, just don't have an action with id 1 if you don't want a default.

public:
 override void AddAction(int id, System::String ^ name, System::String ^ initialization);
public override void AddAction (int id, string name, string initialization);
override this.AddAction : int * string * string -> unit
Public Overrides Sub AddAction (id As Integer, name As String, initialization As String)

Parameters

id
Int32

Action Id

name
String

Action Name

initialization
String

Action init string

Applies to