DefinitionCollection<T>.Remove(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a IDefinition from this DefinitionCollection<T> and returns true
if the item was removed.
public bool Remove (T item);
abstract member Remove : 'T -> bool
override this.Remove : 'T -> bool
Parameters
- item
- T
The IDefinition to remove from this DefinitionCollection<T>.
Returns
System.Boolean
true
if item
was in this DefinitionCollection<T> and was therefore removed. false
if item
was not in this DefinitionCollection<T>.
Implements
System.Collections.Generic.ICollection`1.Remove(`0)