DataObject.IDataObject.EnumDAdvise(IEnumSTATDATA) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기