Compartir a través de


OleDataObject.IDataObject.EnumDAdvise Method

Creates an enumerator to iterate through the current advisory connections.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaración
Private Function EnumDAdvise ( _
    <OutAttribute> ByRef ppenumAdvise As IEnumSTATDATA _
) As Integer Implements IDataObject.EnumDAdvise
'Uso
Dim instance As OleDataObject
Dim ppenumAdvise As IEnumSTATDATA
Dim returnValue As Integer

returnValue = CType(instance, IDataObject).EnumDAdvise(ppenumAdvise)
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

Return Value

Type: System.Int32
If the method succeeded, S_OK, otherwise an error code.

Implements

IDataObject.EnumDAdvise(IEnumSTATDATA%)

.NET Framework Security

See Also

Reference

OleDataObject Class

OleDataObject Members

Microsoft.VisualStudio.Shell Namespace