System.Tether.AppProfile.TTetheringAppProfile.CreateResource
Delphi
function CreateResource(const AName: string; AResType: TRemoteResourceType; AValue: TResourceValue): TLocalResource;
C++
TLocalResource* __fastcall CreateResource(const System::UnicodeString AName, TRemoteResourceType AResType, const TResourceValue &AValue);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
Beschreibung
Erstellt eine Ressource mit dem angegebenen Namen, Typ und Wert.
Ihre neue Ressource wird automatisch der Eigenschaft Resources Ihres Anwendungsprofils hinzugefügt.
Standardmäßig sind Ressourcen, die mithilfe von CreateResource erstellt werden, öffentlich (IsPublic ist True
).