OleDataObject.IDataObject.EnumDAdvise Method
Creates an enumerator to iterate through the current advisory connections.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Private Function EnumDAdvise ( _
<OutAttribute> ByRef ppenumAdvise As IEnumSTATDATA _
) As Integer Implements IDataObject.EnumDAdvise
int IDataObject.EnumDAdvise(
out IEnumSTATDATA ppenumAdvise
)
private:
virtual int EnumDAdvise(
[OutAttribute] IEnumSTATDATA^% ppenumAdvise
) sealed = IDataObject::EnumDAdvise
private abstract EnumDAdvise :
ppenumAdvise:IEnumSTATDATA byref -> int
private override EnumDAdvise :
ppenumAdvise:IEnumSTATDATA byref -> int
JScript does not support explicit interface implementations.
Parameters
ppenumAdvise
Type: Microsoft.VisualStudio.OLE.Interop.IEnumSTATDATA%Address of IEnumSTATDATA* pointer variable that receives the interface pointer to the new enumerator object. If the implementation sets *ppenumAdvise to NULL, there are no connections to advise sinks at this time.
Return Value
Type: Int32
If the method succeeded, S_OK, otherwise an error code.
Implements
IDataObject.EnumDAdvise(IEnumSTATDATA%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.