COleClientItem::GetType

Call this function to determine whether the OLE item is embedded or linked, or static.

OLE_OBJTYPE GetType( ) const;

Return Value

An unsigned integer with one of the following values:

  • OT_LINK   The OLE item is a link.

  • OT_EMBEDDED   The OLE item is embedded.

  • OT_STATIC   The OLE item is static, that is, it contains only presentation data, not native data, and thus cannot be edited.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::GetUserType

Other Resources

COleClientItem Members