OleDataObject.IDataObject.GetDataHere Method
Transfers data from the data object to the client. The client must allocate the STGMEDIUM structure.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Private Sub GetDataHere ( _
pFormatetc As FORMATETC(), _
pRemoteMedium As STGMEDIUM() _
) Implements IDataObject.GetDataHere
void IDataObject.GetDataHere(
FORMATETC[] pFormatetc,
STGMEDIUM[] pRemoteMedium
)
Parameters
- pFormatetc
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. Only one medium can be specified in the tymed member of the FORMATETC structure. These values are valid:
TYMED_STORAGE
TYMED_STREAM
TYMED_HGLOBAL
TYMED_FILE
- pRemoteMedium
Type: array<Microsoft.VisualStudio.OLE.Interop.STGMEDIUM[]
Pointer to the STGMEDIUM structure that defines the storage medium containing the data being transferred.
Implements
IDataObject.GetDataHere(array<FORMATETC[], array<STGMEDIUM[])
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.