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());
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
説明
アプリケーション プロファイルの共有アクションのリストに、アクションを登録します。
このプロシージャは、次のパラメータを受け取ります:
AnAction
は、公開するアクションです。AName
は、文字列の任意のパラメータで、公開されるアクションのカスタム名として使用されます。AName
文字列を用意しない場合、AnAction
の名前が使用されます。