AlternativeAssign

concerns

The AlternativeAssign attribute function adds an alternative object to the specified object that was previously serialized with SaveObjectTree.

 

Syntax

AlternativeAssign(AlternativeName, AlternativeBag)

Return value

None

Parameter

Use

Name

Type

Passing

Description

Required

AlternativeName

String

ByVal

Unique name of the alternative

Required

AlternativeBag

Variant

ByVal

Serialized Object Tree

 

Note:

Alternatives are storing separate named object trees in the background of an object. These separate object trees are serialized and excluded from rules checking. You can activate an object tree by using the attribute function AlternativeSet or AlternativeCurrent. The main object tree is named Standard.