Description

A read/write property allowing to access or change the McObject parent of the McProperties collection's (eg image) McObject.

Property type

A McObject object.  

Syntax

[Set] object.ParentMcObject [= McObject]

The ParentMcObject Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McProperties.
McObjectA McObject object.

Remarks

The properties returned by McProperties are all children of this parent object, thus setting this value will change the list of properties handled by the McProperties collection interface.

Builtin instances of the McProperties interface (ImcImage.Properties) cannot be re-parented.

Exceptions

E_ACCESSDENIED if set for a builtin instance.