'Declaration Protected Function ItemCanBeRemoved( _ ByVal item As T, _ Optional ByVal defaultValueKey As String _ ) As Boolean
protected bool ItemCanBeRemoved( T item, string defaultValueKey )
Parameters
- item
- The item to remove
- defaultValueKey
- The key of the collection default value that must never be removed.
Return Value
True if the item is unused; otherwise, false. This method also
returns false if item was not found in this collection.