Back to product page

Remove method


Removes chatroom from the collection.

Syntax

  • Basic
object.Remove (ChatRoom)
The Remove(object,ChatRoom) syntax has these parts:
objectAn expression evaluating to an object of type XMPPChatRooms
ChatRoomA Variant value. String value of chatroom JID, or reference to the XMPPChatRoom object.

Remarks

Remove method will remove chat room from the collection. After room is removed, it can no longer be Joined because wodXMPP will not know how to handle incoming packets and will assume they arrive from some contact (which uses same JID).

Platforms

Windows