EyeshotKeyedCollection<T>.ItemCanBeRemoved Method
Checks if a specific item is used somewhere.
Protected Function ItemCanBeRemoved( _
ByVal item As T, _
Optional ByVal defaultValueKey As String = null _
) As Boolean
This language is not supported or no code example is available.
protected bool ItemCanBeRemoved(
T item,
string defaultValueKey = null
)
This language is not supported or no code example is available.
Parameters
-
item
-
T
The item to remove
-
defaultValueKey
-
string
The key of the collection default value that must never be removed.
Return Value
bool
True if the item is unused; otherwise, false. This method also
returns false if item was not found in this collection.
.NET Framework
Supported in: 4.8