Επεξεργασία

Κοινή χρήση μέσω


IAdviseSink.OnDataChange(FORMATETC, STGMEDIUM) Method

Definition

Notifies all data objects currently registered advisory sinks that data in the object has changed.

public:
 void OnDataChange(System::Runtime::InteropServices::ComTypes::FORMATETC % format, System::Runtime::InteropServices::ComTypes::STGMEDIUM % stgmedium);
public void OnDataChange (ref System.Runtime.InteropServices.ComTypes.FORMATETC format, ref System.Runtime.InteropServices.ComTypes.STGMEDIUM stgmedium);
abstract member OnDataChange : FORMATETC * STGMEDIUM -> unit
Public Sub OnDataChange (ByRef format As FORMATETC, ByRef stgmedium As STGMEDIUM)

Parameters

format
FORMATETC

A FORMATETC, passed by reference, which describes the format, target device, rendering, and storage information of the calling data object.

stgmedium
STGMEDIUM

A STGMEDIUM, passed by reference, which defines the storage medium (global memory, disk file, storage object, stream object, Graphics Device Interface (GDI) object, or undefined) and ownership of that medium for the calling data object.

Remarks

For more information, see IAdviseSink::OnDataChange.

Applies to