Uredi

Deli z drugimi prek


IDataObject.EnumDAdvise(IEnumSTATDATA) Method

Definition

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

public:
 int EnumDAdvise([Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IEnumSTATDATA ^ % enumAdvise);
public int EnumDAdvise (out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA? enumAdvise);
public int EnumDAdvise (out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA enumAdvise);
abstract member EnumDAdvise : IEnumSTATDATA -> int
Public Function EnumDAdvise (ByRef enumAdvise As IEnumSTATDATA) As Integer

Parameters

enumAdvise
IEnumSTATDATA

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

Returns

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.

Remarks

For more information, see IDataObject::EnumDAdvise method.

Applies to