Dela via


COleClientItem::GetLinkUpdateOptions

Call this function to get the current value of the link-update option for the OLE item.

OLEUPDATE GetLinkUpdateOptions( );

Return Value

One of the following values:

  • OLEUPDATE_ALWAYS   Update the linked item whenever possible. This option supports the Automatic link-update radio button in the Links dialog box.

  • OLEUPDATE_ONCALL   Update the linked item only on request from the container application (when the UpdateLink member function is called). This option supports the Manual link-update radio button in the Links dialog box.

Remarks

This is an advanced operation.

This function is called automatically by the COleLinksDialog class.

For more information, see IOleLink::GetUpdateOptions in the Windows SDK.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::SetLinkUpdateOptions

COleLinksDialog Class

Other Resources

COleClientItem Members