共用方式為


ClipboardObject.IDataObject.EnumDAdvise(IEnumSTATDATA) Method

Definition

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

 virtual int Microsoft.VisualStudio.OLE.Interop.IDataObject.EnumDAdvise([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IEnumSTATDATA ^ % ppenumAdvise) = Microsoft::VisualStudio::OLE::Interop::IDataObject::EnumDAdvise;
int IDataObject.EnumDAdvise (out Microsoft.VisualStudio.OLE.Interop.IEnumSTATDATA ppenumAdvise);
abstract member Microsoft.VisualStudio.OLE.Interop.IDataObject.EnumDAdvise : IEnumSTATDATA -> int
override this.Microsoft.VisualStudio.OLE.Interop.IDataObject.EnumDAdvise : IEnumSTATDATA -> int
Function EnumDAdvise (ByRef ppenumAdvise As IEnumSTATDATA) As Integer Implements IDataObject.EnumDAdvise

Parameters

ppenumAdvise
IEnumSTATDATA

Out parameter. When this method returns, contains a value from the IEnumSTATDATA enumeration that receives the interface reference to the new enumerator object. If the implementation sets ppenumAdvise to null, there are no connections to advisory sinks at this time. This parameter is passed uninitialized.

Returns

S_OK if the enumerator object is successfully instantiated or there are no connections, OLE_E_ADVISENOTSUPPORTED error if the clipboard object does not wrap an existing IDataObject (from the Microsoft.VisualStudio.OLE.Interop namespace), or an error code.

Implements

Applies to