[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.OwnedKeyedCollection-2.TryGetValue

TryGetValue Method

TryGetValue(TKey, out TItem)

Get an item with specified key.

Declaration
public bool TryGetValue(TKey key, out TItem item)
Public Function TryGetValue(key As TKey, ByRef item As TItem) As Boolean
Parameters
Type Name Description
TKey key

The key of the item.

TItem item

The item or default value if not found.

Returns
Type Description
bool

true if item was found, false otherwise.