OleDataObject::IDataObject::GetData Method (array<FORMATETC>^, array<STGMEDIUM>^)

 

Transfers data from the data object to the client. The pformatetcIn parameter must specify a storage medium type of TYMED_MFPICT.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual void GetData(
	array<FORMATETC>^ pformatetcIn,
	array<STGMEDIUM>^ pRemoteMedium
) sealed = IDataObject::GetData

Parameters

pformatetcIn
Type: array<Microsoft.VisualStudio.OLE.Interop::FORMATETC>^

Pointer to the FORMATETC structure that defines the format, medium, and target device to use when passing the data.

pRemoteMedium
Type: array<Microsoft.VisualStudio.OLE.Interop::STGMEDIUM>^

Pointer to the STGMEDIUM structure that indicates the storage medium containing the returned data through its tymed member, and the responsibility for releasing the medium through the value of its punkOuter member.

Return to top
Show: