This documentation is archived and is not being maintained.

IDataObject.EnumDAdvise Method

Creates an object that can be used to enumerate the current advisory connections.

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

int EnumDAdvise (
	out IEnumSTATDATA enumAdvise
int EnumDAdvise (
	/** @attribute OutAttribute() */ /** @ref */ IEnumSTATDATA enumAdvise
Not applicable.



When this method returns, contains an IEnumSTATDATA that receives the interface pointer to the new enumerator object. If the implementation sets enumAdvise to a null reference (Nothing in Visual Basic), there are no connections to advisory sinks at this time. This parameter is passed uninitialized.

Return Value

This method supports the standard return value E_OUTOFMEMORY, as well as the following:




The enumerator object is successfully instantiated or there are no connections.


This object does not support advisory notifications.

For more information about IDataObject::EnumDAdvise, see the MSDN Library.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0