SetAutoUpdate
TheSetAutoUpdatemethod sets this link-source object's update mode to automatic or manual.
void SetAutoUpdate (in ODBoolean automatic);
automatickODTrueto set the update mode for this link-source object to automatic andkODFalseto set it to manual.DISCUSSION
If your part is the source part of this link-source object, after you call theShowLinkSourceInfomethod, you can call this method to set the update mode to the mode the user selected in the Link Source Info dialog box. You can also call this method if you want to implement your own link information dialog boxes.Your part should use the new update mode to determine when to update the content of this link-source object. If the
automaticparameter is true, your part should update this link-source object whenever the source content is changed. If the parameter is false, your part should update this link-source object when the user clicks the Update Now button in the Link Source Info dialog box. (Whenever your part updates this link-source object, it should also call theContentUpdatedmethod.)SEE ALSO
TheODLinkSource::ContentUpdatedmethod (page 378).
TheODLinkSource::IsAutoUpdatemethod (page 381).
TheODLinkSource::ShowLinkSourceInfomethod (page 386).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help