| Selector | Optional. 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 distances for just the indicated profile is returned as a 1-D array of Double. 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 distances 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 distances 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 distances are returned only for the indicated profiles, and the returned value is an array of Variant, with each holding one edge distances array. Index values greater or equal to the ProfilesAncestor.CountOfProfiles property are illegal.
|