Click or drag to resize

IMcFeaturesRemoveFeature Method

One or more features are removed.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Sub RemoveFeature ( 
	<OptionalAttribute> varSelector As Object
)

Parameters

varSelector (Optional)
Type: SystemObject
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 the indicated feature from the collection is removed. If the Selector argument is missing or any negative value including minus 1, then all deselected features (Selected property false) are removed. 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 indicated features are removed. If the argument is a McFeatures (i.e., McPoints, McLines or McRegions) or a McBitMask, then features that intersersect the selector's bit mask are selected as if an array of index values were supplied. If the OptionFlags mcofFullCoverageIntersectionTest bit is set, then the test is more stringent and a feature must be fully covered by the selector's bit mask in order to be included in the selection.
Remarks
After this method call index values are different, but the feature Identifier property stays the same (see Notes). Generally after this method call, all index values after the removed feature(s) are different. The feature Identifier property of the remaining features stays the same. Use the SelectorFromID method to get the new index values of known Identifier values. In order to detect when index values become invalid due to calls to this method, you may monitor "Property Changed" notifications with a code value of DID_IMcFeatures_RemoveFeature.
See Also