Partager via


COleVariant::operator <<, >>

Outputs a COleVariant value to CArchive or CdumpContext and inputs a COleVariant object from CArchive.

friend CDumpContext& AFXAPI operator <<( 
   CDumpContext& dc, 
   OleVariant varSrc  
); 
friend CArchive& AFXAPI operator <<( 
   CArchive& ar, 
   COleVariant varSrc  
); 
friend CArchive& AFXAPI operator >>( 
   CArchive& ar, 
   COleVariant& varSrc  
);

Remarks

The COleVariant insertion (<<) operator supports diagnostic dumping and storing to an archive. The extraction (>>) operator supports loading from an archive.

Requirements

Header: afxdisp.h

See Also

Reference

COleVariant Class

Hierarchy Chart

CDumpContext Class

CArchive Class