XLL+ Class Library (6.3)

CXlSerialData::Attach

Attaches the supplied data to the object, replacing any current contents

void Attach(
   void* pvData,
   size_t cbData
) const;

Parameters

pvData

A pointer to an array of bytes, of size cbData.

cbData

Size of array of bytes.

Remarks

This function removes the current contents and replace them with a reference to the supplied data buffer. The buffer must have been allocated using the CXlSerialData::Alloc() static method.

Requirements

Header: xlserialize.h

See Also

CXlSerialData Class | CXlSerialData Methods