OleDataObject.IDataObject.DUnadvise Method
Terminates an advise connection previously established through DAdvise(array<FORMATETC[], UInt32, IAdviseSink, UInt32%).
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
'Декларация
Private Sub DUnadvise ( _
dwConnection As UInteger _
) Implements IDataObject.DUnadvise
'Применение
Dim instance As OleDataObject
Dim dwConnection As UInteger
CType(instance, IDataObject).DUnadvise(dwConnection)
void IDataObject.DUnadvise(
uint dwConnection
)
private:
virtual void DUnadvise(
unsigned int dwConnection
) sealed = IDataObject::DUnadvise
private abstract DUnadvise :
dwConnection:uint32 -> unit
private override DUnadvise :
dwConnection:uint32 -> unit
JScript does not support explicit interface implementations.
Parameters
- dwConnection
Type: System.UInt32
DWORD token that specifies the connection to remove. Use the value returned by DAdvise(array<FORMATETC[], UInt32, IAdviseSink, UInt32%) when the connection was originally established.
Implements
.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.