Description

Attributes to the edges on all or selected profiles.

Property type

A Variant value.  

Syntax

object.EdgeAttributes([Selector])

The EdgeAttributes Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McProfileEdges.
SelectorOptional. A Variant value.

An empty variant, a single negative value, a single index value, or an array of zero or more index values (negative index values are legal but will be ignored).

If the Selector argument is a non-negative scalar index value, then the edge attributes for just the indicated profile is returned as a 1-D array of Long. The index value must fall between zero and ProfilesAncestor.CountOfProfiles-1.

If the Selector argument is Empty, Error or Null, or any negative scalar value, then edge attributes are returned for all ProfilesAncestor.CountOfProfiles profiles. In this case, the returned value will be an array of Variant, where each Variant is a 1-D array that is the edge attributes from the ProfilesAncestor's profile at the same index.

If Selector is an array, then zero or positive values are treated as indices into the ProfilesAncestor profiles, negative values are legal but ignored. In this case, edge attributes are returned only for the indicated profiles, and the returned value is an array of Variant, with each holding one edge attributes array. Index values greater or equal to the ProfilesAncestor.CountOfProfiles property are illegal.

Remarks

The mcProfileEdgesEdgeAttributes for each edge are exposed as the equivalent Long value.

If results from only one profile is requested, edge mcProfileEdgesEdgeAttributes are returned as a 1-D array of Long. If results from all or an array of profiles are requested (even if there is only one), then edge attributes are returned as an array of Variant, with each Variant holding the edge attributes from one profile as a 1-D array of Long.