OleDataObject.IDataObject.GetDataHere Method

Similar to GetData(array<FORMATETC[], array<STGMEDIUM[]), except the client must allocate the STGMEDIUM structure.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Private Sub GetDataHere ( _
    pFormatetc As FORMATETC(), _
    pRemoteMedium As STGMEDIUM() _
) Implements IDataObject.GetDataHere
用法
Dim instance As OleDataObject
Dim pFormatetc As FORMATETC()
Dim pRemoteMedium As STGMEDIUM()

CType(instance, IDataObject).GetDataHere(pFormatetc, _
    pRemoteMedium)
void IDataObject.GetDataHere(
    FORMATETC[] pFormatetc,
    STGMEDIUM[] pRemoteMedium
)
private:
virtual void GetDataHere(
    array<FORMATETC>^ pFormatetc, 
    array<STGMEDIUM>^ pRemoteMedium
) sealed = IDataObject::GetDataHere
private abstract GetDataHere : 
        pFormatetc:FORMATETC[] * 
        pRemoteMedium:STGMEDIUM[] -> unit 
private override GetDataHere : 
        pFormatetc:FORMATETC[] * 
        pRemoteMedium:STGMEDIUM[] -> unit 
JScript does not support explicit interface implementations.

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

Implements

IDataObject.GetDataHere(array<FORMATETC[], array<STGMEDIUM[])

.NET Framework Security

See Also

Reference

OleDataObject Class

OleDataObject Members

Microsoft.VisualStudio.Shell Namespace