GetPropertyTargets Method

Returns a list of object names that have built connections (subscribed) to a property. The targets are the objects that are sent data when the property's value changes.

Syntax

object.GetPropertyTargets iIndex, bstrPropertyName, vtTargets

Properties

The GetPropertyTargets method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

iIndex

Long. The index of the connected property list.

bstrPropertyName

String. Returns the property name for the specified connection index.

tTargets

Variant. Returns an array of fully qualified names containing connections to this property.

Remarks

This method can be used to see all objects that are connected to a property. For example, to determine which objects are connected to a specific tag reference, call this method on the tag reference.

The returned targets variant is an array of fully qualified names of objects that have connections to this tag. This list is only valid for those connections currently in memory. (Only for currently loaded objects; not valid for pictures on disk).

 

Example

Applies To