OutputMessages.CopyMessagesToCollection

Syntax

OutputMessages.CopyMessagesToCollection( target)

Purpose

Copies all OutputMessage object references in the collection to the end of the target collection.

Remarks

Use this method in an application that handles the UIMsg_OutputMessages event to copy the messages from the collection in UIMessage.ActiveXData to a private collection. This method is thread-safe with respect to the source collection in that the source collection cannot be modified from another thread while the copy is in progress.

Parameters

target As OutputMessages

[In] Specifies the target collection to receive the OutputMessage objects references.

See Also

OutputMessage

OutputMessages

UIMessage.ActiveXData

UIMessageCodes