SmartFoxServer Silverlight API
SFSEvent..::.OnRoomLeftDelegate Delegate
NamespacesSmartFoxClientAPISFSEventSFSEvent..::.OnRoomLeftDelegate
Dispatched when a room is left in multi-room mode, in response of a LeaveRoom(Int32) request.
Declaration Syntax
C#Visual BasicVisual C++
public delegate void OnRoomLeftDelegate(
	int roomId
)
Public Delegate Sub OnRoomLeftDelegate ( _
	roomId As Integer _
)
public delegate void OnRoomLeftDelegate(
	int roomId
)
Parameters
roomId (Int32)
the id of the room that was left.
Remarks

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to handle the "room left" event.
CopyC#
SFSEvent.onRoomLeft += OnRoomLeft;

public void OnRoomLeft(int roomId)
{
    Debug.WriteLine("You left room " + roomId);
}
See Also

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