Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Screen Object / Copy2 Method
A CopySourceOption value that specifies what should be copied to the Clipboard.
In This Topic
    Copy2 Method
    In This Topic
    Copies data to the Clipboard.
    Syntax
    expression.Copy2( _
       ByVal source As CopySourceOption _
    ) As ReturnCode
    where expression is a variable that represents a Screen Object

    Parameters

    source
    A CopySourceOption value that specifies what should be copied to the Clipboard.

    Return Value

    One of the following ReturnCode enumeration values.

    Member Description
    Cancelled Cancelled.
    Error Error.
    PermissionRequired Permission is required.
    Success Success.
    Timeout Timeout condition.
    Truncated The text is truncated.

    See Also