DataObject::IDataObject::DUnadvise Method (Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Destroys a notification connection that had been previously established.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)]
virtual void DUnadvise(
	int dwConnection
) sealed = IDataObject::DUnadvise

Parameters

dwConnection
Type: System::Int32

A DWORD token that specifies the connection to remove. Use the value returned by DAdvise when the connection was originally established.

This member is an explicit interface member implementation. It can be used only when the DataObject is cast to an IDataObject interface.

SecurityPermission

for calling unmanaged code. Associated enumeration: SecurityPermissionFlag::UnmanagedCode

.NET Framework
Available since 2.0
Return to top
Show: