[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.OwnedKeyedCollection-2.CheckKey

CheckKey Method

CheckKey(TItem, TKey, TKey)

Throws an exception if collection already contains item with specified key.

Declaration
public virtual void CheckKey(TItem item, TKey oldKey, TKey newKey)
Parameters
Type Name Description
TItem item

The item to check.

TKey oldKey

The old key.

TKey newKey

The new key.