Partager via


IDesktopUserActions.UserDefinedCommand(String, String) Method

Definition

Allows the developer to pass commands to the desktop from a hosted control outside of the action system.

public:
 System::String ^ UserDefinedCommand(System::String ^ command, System::String ^ request);
public string UserDefinedCommand (string command, string request);
abstract member UserDefinedCommand : string * string -> string
Public Function UserDefinedCommand (command As String, request As String) As String

Parameters

command
String

Specifies the name of the command.

request
String

Specifies the command data.

Returns

User Defiend

Remarks

This is provided as an extendibility point for the IadUserActions Interface. Developers can implement their own commands within the desktop by overriding the UserDefinedCommand(String, String) method and return string data.

Applies to