Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / EyeshotKeyedCollection<T> Class / CheckItemKey Method
The key to check.
When true an exception is thrown if the check fails.

In This Topic
    CheckItemKey Method
    In This Topic
    Checks if a key exists in the collection.
    Syntax
    'Declaration
     
    Protected Friend Function CheckItemKey( _
       ByVal key As String, _
       Optional ByVal throwEx As Boolean _
    ) As Boolean
    protected internal bool CheckItemKey( 
       string key,
       bool throwEx
    )

    Parameters

    key
    The key to check.
    throwEx
    When true an exception is thrown if the check fails.

    Return Value

    True if the key exists, otherwise false.
    See Also