Accusoft.ScanFixXpressSdk Namespace > EnhancementOptionsCollection Class : Remove Method |
'Declaration <DebuggerNonUserCodeAttribute()> <DebuggerStepThroughAttribute()> Public Sub Remove( _ ByVal value As EnhancementOption _ )
'Usage Dim instance As EnhancementOptionsCollection Dim value As EnhancementOption instance.Remove(value)
[DebuggerNonUserCode()] [DebuggerStepThrough()] public void Remove( EnhancementOption value )
[DebuggerNonUserCode()] [DebuggerStepThrough()] public: void Remove( EnhancementOption* value )
[DebuggerNonUserCode()] [DebuggerStepThrough()] public: void Remove( EnhancementOption^ value )
Exception | Description |
---|---|
System.ArgumentException | Indicates that the specified element is not present in the collection. |
This method implements a standard collection operation. It searches the collection for a reference to the given element. If it finds a reference to it, it will delete it from the collection. If there are any elements following that one, this method will move them up (their indices will be one less than they were.)
If the specified element is present more than once in the collection, this method will remove the one with the lowest index.