次の方法で共有


IPropertyProxyEESide::CreateReplacementObject

Creates a copy of a data object specific to the expression evaluator (EE).

HRESULT CreateReplacementObject(
   IEEDataStorage*  dataIn,
   IEEDataStorage** dataOut
);
int CreateReplacementObject(
   IEEDataStorage     dataIn,
   out IEEDataStorage dataOut
);

Parameters

  • dataIn
    [in] An IEEDataStorage object holding the data to be copied.

  • dataOut
    [out] Returns a new IEEDataStorage object.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

This method is given an IEEDataStorage object representing an array of bytes. This incoming data object is typically not implemented by the EE. However, the object returned by this method is always implemented by the EE, which lets the EE implement the IEEDataStorage interface on whatever class is desired.

Note that the data supplied by the incoming IEEDataStorage object must be the same data in the outgoing IEEDataStorage object.

See Also

Reference

IPropertyProxyEESide

IEEDataStorage