SmartFoxServer Silverlight API
SFSEvent..::.OnRoomDeletedDelegate Delegate
Namespaces ► SmartFoxClientAPI ► SFSEvent ► SFSEvent..::.OnRoomDeletedDelegate
Dispatched when a room is removed from the zone where the user is currently logged in.
Declaration Syntax

C# | Visual Basic | Visual C++

    public delegate void OnRoomDeletedDelegate(
    	Room room
    )

    Public Delegate Sub OnRoomDeletedDelegate ( _
    	room As Room _
    )

    public delegate void OnRoomDeletedDelegate(
    	Room^ room
    )

Parameters

room (Room)
  the Room object representing the room that was removed.

Remarks

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to handle a new room being removed in the zone.
CopyC#

    SFSEvent.onRoomDeleted += OnRoomDeleted;

    public void OnRoomDeleted(Room room)
    {
        Debug.WriteLine("Room " + room.GetName() + " was removed");
    }

See Also
SFSEvent..::.OnRoomAddedDelegate
Room

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)