| 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 value, then Selected status of the indicated feature from the collection is exposed as a scalar True/False value.
If the Selector argument is a scalar value of negative one (-1), then the overall Selected status of all features from the collection are exposed or set as a scalar True/False value. The property will be True only if any feature in the collection is Selected. It will also be True if the feature is in the reset state (IsReset is true).
If the Selector argument is missing or any negative scalar value other than -1, then the Selected property is exposed or set as an array of Long values. The number of elements in the array will be equal to the Count property. Selected features will be noted by a non-negative index value, while deselected features will be noted by a negative value (minus the feature index plus one); this array may be subsequently used as a Selector argument for any other property to extract information about only the selected features.
If Selector is an array, then zero or positive values are treated as indices into the features collection, negative values are legal but ignored. In this case, the Selected status will be exposed as an array of Long values (encoded as above) equal to the length of the number of non-negative elements in the Selector array. Index values greater or equal to the Count property are illegal.
|