CopyRefObjContextAttrib

You can use this function for Optiva Copy Methods.

Purpose

Copies the context attributes of the reference object to the new object. Used in copy methods to create an object on the References tab of another object.

Syntax


Dim variable As Long = CopyRefObjContextAttrib()

Arguments

None

Example

This script is in a copy method for a specification that is created from the References tab of a formula (Object Type = SPECIFICATION, Reference Type = FORMULA, Events = Create From As New). It copies all of the context attributes from the formula to the specification.


Dim lContext As Long = CopyRefObjContextAttrib()