EyeshotKeyedCollection<T>.CheckItemKey Method

Checks if a key exists in the collection.
Protected Friend Function CheckItemKey( _ 
ByVal key As String, _ 
Optional ByVal throwEx As Boolean = false _ 
) As Boolean
This language is not supported or no code example is available.
internal protected bool CheckItemKey( 
string key
bool throwEx = false 
)
This language is not supported or no code example is available.

Parameters

key
string

The key to check.

throwEx
bool

When true an exception is thrown if the check fails.

Return Value

bool

True if the key exists, otherwise false.

.NET Framework

Supported in: 4.8

In this article

Definition