OnDataChange Method
Collapse the table of content
Expand the table of content

IAdviseSink.OnDataChange Method (FORMATETC, STGMEDIUM)


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

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  System (in System.dll)

void OnDataChange(
	[InAttribute] ref FORMATETC format,
	[InAttribute] ref STGMEDIUM stgmedium


Type: System.Runtime.InteropServices.ComTypes.FORMATETC

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

Type: System.Runtime.InteropServices.ComTypes.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.

For more information about IAdviseSink::OnDataChange, see the MSDN Library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
© 2016 Microsoft