EyeshotKeyedCollection<T>.CheckItemIndex Method

Checks if an index is valid for the collection.
Protected Friend Function CheckItemIndex( _ 
ByVal index As Integer, _ 
Optional ByVal throwEx As Boolean = false _ 
) As Boolean
This language is not supported or no code example is available.
internal protected bool CheckItemIndex( 
int index
bool throwEx = false 
)
This language is not supported or no code example is available.

Parameters

index
int

The index to check.

throwEx
bool

When true an exception is thrown if the check fails.

Return Value

bool

True if the index is valid, otherwise false.

.NET Framework

Supported in: 4.8

In this article

Definition