ערוך

שתף באמצעות


IDataObject Interface

Definition

Creates a connection between a caller and a data object implementing the IDataObject interface. This connection enables notifications of changes in the data for the data object to the caller.

public interface class IDataObject
[System.Runtime.InteropServices.Guid("0000010e-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IDataObject
[<System.Runtime.InteropServices.Guid("0000010e-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IDataObject = interface
Public Interface IDataObject
Attributes

Remarks

For more information about programming with the IDataObject interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Methods

DAdvise(IntPtr, Int32, IntPtr, Int32)

Creates a notification connection between a data object implementing the IDataObject interface and a caller object, letting the caller receive notification of changes in the data for the data object.

DUnadvise(Int32)

Destroys a notification connection that was created by an earlier call to the DAdvise(IntPtr, Int32, IntPtr, Int32) method.

EnumDAdvise(IntPtr)

Retrieves a pointer to an object that can enumerate the notification connections that are currently maintained by this IDataObject interface.

EnumFormatEtc(Int32, IntPtr)

Retrieves a pointer to an object that can enumerate the FORMATETC enumerator types that this implementation supports.

GetCanonicalFormatEtc(IntPtr, IntPtr)

Retrieves a pointer to a standard FORMATETC structure that is logically equivalent to, but not necessarily equal to, the FORMATETC structure that is referenced by the a parameter.

GetData(FORMATETC, STGMEDIUM)

Renders the data that is described in the specified pFormatEtc structure and transfers it to the b parameter.

GetDataHere(FORMATETC, STGMEDIUM)

Renders the data that is described in the specified pFormatEtc structure and transfers it to the b parameter.

QueryGetData(FORMATETC)

Retrieves a value indicating whether the implementer can render the data that is contained in the a parameter.

SetData(IntPtr, IntPtr, Int32)

Transfers the data that is contained in the STGMEDIUM structure, referenced by a, to this instance of the IDataObject interface.

Applies to