Determines if a property has a target object connection. That is, if the local property changes, will this change be sent to any other objects in the system. This list of subscribed connections are called targets.
Syntax
object.DoesPropertyHaveTargets bstrPropertyName, bHasTargets, iNumberOfTargets, iStatus, iIndex
Properties
The DoesPropertyHaveTargets method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bstrPropertyName |
String. The name of the local property to check for targets. |
bHasTargets |
Boolean. Returns True if any targets are configured for the property name. |
iNumberOfTargets |
Long. Returns the number of target objects. |
iStatus |
Long. Returns the error value. |
iIndex |
Long. Returns the handle for the passed in property that you can pass to the GetPropertyTargets method to obtain the list of targets associated with this property. |