This document is archived and information here might be outdated.  Recommended version.


IMessageDispatcher.Remove Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

IMessageDispatcher.Remove Method

Removes messages associated with the window.

[Visual Basic .NET]
Public Sub Remove ( _
    ByVal hWnd As Integer, _
    ByVal bSingle As Boolean, _
    [ByRef pbCancelled As Object] _
)
[C#]
public void Remove (
    int hWnd,
    bool bSingle,
    ref object pbCancelled
);
[C#]

Optional Values

pbCancelled   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT Remove(
  Long hWnd,
  VARIANT_BOOL bSingle,
  VARIANT* pbCancelled
);
[C++]

Parameters hWnd [in] hWnd is a parameter of type Long bSingle [in] bSingle is a parameter of type VARIANT_BOOL pbCancelled [out, optional] pbCancelled is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IMessageDispatcher Interface