IsConnected Method

Determines if the specified property has an assigned animation connection.

Syntax

object.IsConnectedbstrPropertyName, bHasConnection, iIndex, iStatus

Properties

The IsConnected 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 property.

bHasConnection

Boolean. Returns True if the property has a connection, otherwise False.

iIndex

Long. Returns the index for the property connection (useful for GetConnectionInformation).

iStatus

Long. Returns the error value.
Return values are:
0 – OK
1 – Syntax error
2 – Data Undefined
3 – Data type mismatch
4 – Invalid use of property for this type of object
5 - Unexpected Expression Returned

 

Example

Applies To