<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://frp.sage.fr/wiki1000/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=IndexOf_%28role%29</id>
		<title>IndexOf (role) - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=IndexOf_%28role%29"/>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=IndexOf_(role)&amp;action=history"/>
		<updated>2026-04-06T18:20:02Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>https://frp.sage.fr/wiki1000/index.php?title=IndexOf_(role)&amp;diff=972&amp;oldid=prev</id>
		<title>Syfre : Nouvelle page : &lt;source lang='delphi'&gt;function Indexof(const iOID:TOID):Integer;&lt;/source&gt;  Cette fonction retourne l'index d'un objet du rôle identifié par son identifiant.  {|class=&quot;wikitable&quot; |-...</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=IndexOf_(role)&amp;diff=972&amp;oldid=prev"/>
				<updated>2009-07-26T15:01:53Z</updated>
		
		<summary type="html">&lt;p&gt;Nouvelle page : &amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;function Indexof(const iOID:TOID):Integer;&amp;lt;/source&amp;gt;  Cette fonction retourne l&amp;#039;index d&amp;#039;un objet du rôle identifié par son identifiant.  {|class=&amp;quot;wikitable&amp;quot; |-...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang='delphi'&amp;gt;function Indexof(const iOID:TOID):Integer;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cette fonction retourne l'index d'un objet du rôle identifié par son identifiant.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Result&lt;br /&gt;
|L'index de l'objet ou bien -1 si celui-ci n'est pas dans le rôle.&lt;br /&gt;
|-&lt;br /&gt;
|iOID&lt;br /&gt;
|Identifiant de l'objet recherché&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{info|Cette fonction provoque le chargement du rôle si celui-ci n'est pas chargé.}}&lt;br /&gt;
&lt;br /&gt;
Exemple&lt;br /&gt;
&amp;lt;source lang='delphi'&amp;gt;&lt;br /&gt;
function isThisObjectInMyList(const iOID:TOID):Boolean;&lt;br /&gt;
begin&lt;br /&gt;
  Result := MyRoleList.IndexOf(iOID)&amp;lt;&amp;gt;-1;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voir aussi&lt;br /&gt;
&lt;br /&gt;
*[[Exists (role)|Exists]]&lt;br /&gt;
&lt;br /&gt;
{{Footer|Rôles (tech)}}&lt;br /&gt;
[[category:Rôles (tech)]]&lt;/div&gt;</summary>
		<author><name>Syfre</name></author>	</entry>

	</feed>