Removes the StatusListener from the Screen object. The Screen object will no longer receive status event notifications.


Namespace: ScreenUPG
Assembly: ScreenUPG (in ScreenUPG.dll)

Syntax

Visual Basic (Declaration)
Public Sub removeIStatusListener( _ 
   ByVal inListener As ScreenUPG _ 
)
C#
public void removeIStatusListener(
   ScreenUPG inListener
)
C++
public:
 void removeIStatusListener(
   ScreenUPG inListener
) sealed 
J#
public void removeIStatusListener(
   ScreenUPG inListener
)
JScript
public  function removeIStatusListener(
   inListener : ScreenUPG
)

Parameters

inListener
For .NET based languages, pass null in for inListener parameter. For Visual Basic or MFC based languages pass in a dispatch pointer to listener receiving status events.

Example

[C#]

 Copy Code
            // Notify screen object that we'd no longer like to receive events
            screen.removeIStatusListener(null);
            
            // Remove the delegate
            ScreenUPG.ScreenUPG.onStatusReceivedHandler -= instance.myStatusReceivedHandler;
            
[VB]
 Copy Code
            screen.removeIStatusListener screen
            End Sub
            

See Also