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

In This Topic
    CheckItemIndex Method
    In This Topic
    Checks if an index is valid for the collection.
    Syntax
    'Declaration
     
    Protected Friend Function CheckItemIndex( _
       ByVal index As Integer, _
       Optional ByVal throwEx As Boolean _
    ) As Boolean
    protected internal bool CheckItemIndex( 
       int index,
       bool throwEx
    )

    Parameters

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

    Return Value

    True if the index is valid, otherwise false.
    See Also