FMX.Types._di_IRoot
C++
typedef System::DelphiInterface<IRoot> _di_IRoot;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
typedef | public | FMX.Types.hpp | FMX.Types | FMX.Types |
Description
Représente l'interface DelphiInterface de IRoot.
Vous pouvez utiliser _di_IRoot pour faire référence à un objet racine dans le code C++.
L'extrait de code suivant montre comment utiliser la méthode FMX.Types.IRoot.GetObject sur un TForm :
TFmxObject* AObject;
_di_IRoot AInterface;
if (Form2->GetInterface(AInterface)) {
AObject = AInterface->GetObject();
}