GetDocumentLinkOID (Instance)

De Wiki1000

<source lang='delphi'>function GetDocumentLinkOID:TOID;</source>

Retourne l'OID d'un objet à lier au document.

Cette function est appelée lorsqu'un document est associé à l'objet.

Si cette méthode existe et retourne un OID d'objet, le document sera lié à cet objet.

Pas de paramètre.

Exemple <source lang='delphi'> function TMyObject.GetDocumentLinkOID:TOID; begin

 // Link myParent object to the same document
 // The document is associate to myObject and linked to myParent
 Result := oidMyParent;

end; </source>

Voir aussi


{{#if:Objets métiers (tech)|

{{#if:Objets métiers (tech)|— Objets métiers (tech) |}} — Développement DSM

|

{{#if:|— [[{{{1}}}]] |}} — Développement DSM

}}