편집

다음을 통해 공유


DataObject.IDataObject.EnumDAdvise(IEnumSTATDATA) Method

Definition

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

 virtual int System.Runtime.InteropServices.ComTypes.IDataObject.EnumDAdvise([Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IEnumSTATDATA ^ % enumAdvise) = System::Runtime::InteropServices::ComTypes::IDataObject::EnumDAdvise;
[System.Security.SecurityCritical]
int IDataObject.EnumDAdvise (out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA enumAdvise);
int IDataObject.EnumDAdvise (out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA enumAdvise);
[<System.Security.SecurityCritical>]
abstract member System.Runtime.InteropServices.ComTypes.IDataObject.EnumDAdvise : IEnumSTATDATA -> int
override this.System.Runtime.InteropServices.ComTypes.IDataObject.EnumDAdvise : IEnumSTATDATA -> int
abstract member System.Runtime.InteropServices.ComTypes.IDataObject.EnumDAdvise : IEnumSTATDATA -> int
override this.System.Runtime.InteropServices.ComTypes.IDataObject.EnumDAdvise : IEnumSTATDATA -> int
Function EnumDAdvise (ByRef enumAdvise As IEnumSTATDATA) As Integer Implements IDataObject.EnumDAdvise

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.

Implements

Attributes

Remarks

This member is an explicit interface member implementation. It can be used only when the DataObject instance is cast to an IDataObject interface.

Applies to