System.Tether.AppProfile.TTetheringAppProfile.RegisterAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RegisterAction(const AnAction: TContainedAction; const AName: string = '');

C++

void __fastcall RegisterAction(System::Actions::TContainedAction* const AnAction, const System::UnicodeString AName = System::UnicodeString());

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TTetheringAppProfile

Description

Registers an action in the list of shared actions of the application profile.

This procedure receives the following parameters:

  • AnAction is the action to publish.
  • AName is an optional parameter with a string to use as the custom name of the published action. If you do not provide an AName string, the name of AnAction is used.

See Also