COleClientItem::ConvertTo

Call this member function to convert the item to the type specified by clsidNew.

virtual BOOL ConvertTo(
   REFCLSID clsidNew 
);

Parameters

  • clsidNew
    The class ID of the target type.

Return Value

Nonzero if successful; otherwise 0.

Remarks

This is called automatically by COleConvertDialog. It is not necessary to call it directly.

Requirements

Header: afxole.h

See Also

Concepts

COleClientItem Class

COleClientItem Members

Hierarchy Chart

COleClientItem::ActivateAs

COleConvertDialog Class