| 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 weighted profile for just the indicated profile is returned or assigned to as or from a 1-D array. 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 profiles are returned or assigned to for all ProfilesAncestor.CountOfProfiles profiles. In this case, the returned value or assigning value will be an array of Variant, where each Variant is a 1-D array that is the weighted profile 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, weighted profiles only for the indicated profiles, and the returned value or assigning value is an array of Variant, with each holding one weighted profile array. Index values greater or equal to the ProfilesAncestor.CountOfProfiles property are illegal.
|