Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / EyeshotKeyedCollection<T> Class / ItemCanBeRemoved Method
The item to remove
The key of the collection default value that must never be removed.

In This Topic
    ItemCanBeRemoved Method
    In This Topic
    Checks if a specific item is used somewhere.
    Syntax
    '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.
    See Also