'Declaration
Public Function DAdvise( _ ByRef pFormatetc As System.Runtime.InteropServices.ComTypes.FORMATETC, _ ByVal advf As System.Runtime.InteropServices.ComTypes.ADVF, _ ByVal adviseSink As System.Runtime.InteropServices.ComTypes.IAdviseSink, _ ByRef connection As System.Integer _ ) As System.Integer
'Usage
Dim instance As NOleDataObjectProvider Dim pFormatetc As System.Runtime.InteropServices.ComTypes.FORMATETC Dim advf As System.Runtime.InteropServices.ComTypes.ADVF Dim adviseSink As System.Runtime.InteropServices.ComTypes.IAdviseSink Dim connection As System.Integer Dim value As System.Integer value = instance.DAdvise(pFormatetc, advf, adviseSink, connection)
public System.int DAdvise( ref System.Runtime.InteropServices.ComTypes.FORMATETC pFormatetc, System.Runtime.InteropServices.ComTypes.ADVF advf, System.Runtime.InteropServices.ComTypes.IAdviseSink adviseSink, out System.int connection )
Parameters
- pFormatetc
- advf
- adviseSink
- connection