Export (0) Print
Expand All

IDataObject.EnumDAdvise Method

Note: This method is new in the .NET Framework version 2.0.

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
JScript does not support passing value-type arguments by reference.



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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

© 2015 Microsoft