IDataObject Interface

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

Namespace:  Microsoft.Aspnet.Snapin
Assembly:  AspNetMMCExt (in AspNetMMCExt.dll)

[GuidAttribute("0000010e-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDataObject

The IDataObject type exposes the following members.

  NameDescription
Public methodDAdviseCreates 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.
Public methodDUnadviseDestroys a notification connection that was created by an earlier call to the DAdvise method.
Public methodEnumDAdviseRetrieves a pointer to an object that can enumerate the notification connections that are currently maintained by this IDataObject interface.
Public methodEnumFormatEtcRetrieves a pointer to an object that can enumerate the FORMATETC enumerator types that this implementation supports.
Public methodGetCanonicalFormatEtcRetrieves 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.
Public methodGetDataRenders the data that is described in the specified pFormatEtc structure and transfers it to the b parameter.
Public methodGetDataHereRenders the data that is described in the specified pFormatEtc structure and transfers it to the b parameter.
Public methodQueryGetDataRetrieves a value indicating whether the implementer can render the data that is contained in the a parameter.
Public methodSetDataTransfers the data that is contained in the STGMEDIUM structure, referenced by a, to this instance of the IDataObject interface.
Top

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

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft