# TreatAs

Specifies the CLSID of a class that can emulate the current class.

Registry Entry

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
\TreatAs = <CLSID>

Value Entries

<CLSID>
  Class that is to perform the emulation.

Remarks

Emulation is the ability of one application to open and edit an object of a different class, while retaining the original format of the object.

See Also

CoTreatAsClass, CoGetTreatAsClass, AutoTreatAs, IOleObject::EnumVerbs