IndexOf (role)
<source lang='delphi'>function Indexof(const iOID:TOID):Integer;</source>
Cette fonction retourne l'index d'un objet du rôle identifié par son identifiant.
Result | L'index de l'objet ou bien -1 si celui-ci n'est pas dans le rôle. |
iOID | Identifiant de l'objet recherché |
Exemple <source lang='delphi'> function isThisObjectInMyList(const iOID:TOID):Boolean; begin
Result := MyRoleList.IndexOf(iOID)<>-1;
end; </source>
Voir aussi
{{#if:Rôles (tech)|
{{#if:Rôles (tech)|— Rôles (tech) |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}