OleDataObject.IDataObject.GetData Method

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
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 GetData ( _
    pformatetcIn As FORMATETC(), _
    pRemoteMedium As STGMEDIUM() _
) Implements IDataObject.GetData
用法
Dim instance As OleDataObject
Dim pformatetcIn As FORMATETC()
Dim pRemoteMedium As STGMEDIUM()

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

Parameters

  • 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.

Implements

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

.NET Framework Security

See Also

Reference

OleDataObject Class

OleDataObject Members

Microsoft.VisualStudio.Shell Namespace