GetUpdateID
TheGetUpdateIDmethod returns the update ID that uniquely identifies the current generation or version of the link source content.
ODUpdateID GetUpdateID ();
- return value
- The current update ID of the link source content.
DISCUSSION
If your part contains a destination of this link, you can call this method to determine the current version of the content of the link-source object. You can compare the returned update ID with a previously saved ID to establish whether the source content has been modified since you last read it. There is no implicit ordering of update ID values: they offer tests for equality only, with no indication of the time or nature of any link changes.You can arrange for your part to receive automatic notification of content updates by calling the
RegisterDependentmethod.EXCEPTIONS
kODErrBrokenLink- Internal error; the link-source object disconnected from its destinations.
SEE ALSO
TheODUpdateIDtype (page 917).
TheODLink::RegisterDependentmethod (page 355).
TheODLinkSource::ContentUpdatedmethod (page 378).
"Updating a Link at the Destination" on page 384 in OpenDoc Programmer's Guide.