BaseKeyedCollection<TItem>.GetItem

Returns the item with the specified name or ID.

public sealed TItem GetItem(string name);

Return Value

The item if found or null.

Parameters

name
The name or ID (passed as a string) of the item.

Remarks

This method is provided for COM clients that can't use the indexer. The search is case-insensitive.

Overloads:


See also:

Class BaseKeyedCollection