Description

Set or get a user defined piece of data attached to the object.

Property type

A Variant value.  

Syntax

object.UserData [= value]

The UserData Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGraphObj.
valueA Variant value.

Remarks

The data is maintained internally in its VARIANT format. When an object is serialized, its UserFlag property is preserved, but UserData is cleared to empty.