System.Tether.AppProfile.TTetheringAppProfile.RegisterAction
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:
AnActionis the action to publish.ANameis an optional parameter with a string to use as the custom name of the published action. If you do not provide anANamestring, the name ofAnActionis used.