Share via


HostedWpfControl.AddAction(Int32, String, String) Method

Definition

Adds an action for use from one application or the UII core to this application.

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

Parameters

id
Int32

Specifies the ID of the action.

name
String

Specifies the name of the action.

initialization
String

Specifies the initialization

Implements

Remarks

An action with ID of 1 is the default action and is called when initiating the application. There is no requirement to have a default action though.

Applies to