Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
'Declaration
Function EnumDAdvise ( _
	<OutAttribute> ByRef enumAdvise As IEnumSTATDATA _
) As Integer

Parameters

enumAdvise
Type: System.Runtime.InteropServices.ComTypes.IEnumSTATDATA

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

Return Value

Type: System.Int32
This method supports the standard return value E_OUTOFMEMORY, as well as the following:

Value

Description

S_OK

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

OLE_E_ADVISENOTSUPPORTED

This object does not support advisory notifications.

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

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.