Removes the current message from the underlying set of messages.
[Visual Basic] Public Function RemoveObject() As Object [C#] public object RemoveObject(); [C++] public: Object* RemoveObject(); [JScript] public function RemoveObject() : Object;
the message that was just removed.
MessagesEnumerator Class | MessagesEnumerator Members | System.Messaging Namespace