TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / PropertyPath Class / ContainsKey Method
The key to locate in the C1.Win.Collections.ObjectModel.ObservableDictionary<TKey,TValue>.

In This Topic
    ContainsKey Method (PropertyPath)
    In This Topic
    Determines whether the C1.Win.Collections.ObjectModel.ObservableDictionary<TKey,TValue> contains an element with the specified key.
    Syntax
    'Declaration
     
    
    Public Function ContainsKey( _
       ByVal key As Integer _
    ) As Boolean
    public bool ContainsKey( 
       int key
    )

    Parameters

    key
    The key to locate in the C1.Win.Collections.ObjectModel.ObservableDictionary<TKey,TValue>.

    Return Value

    true if the C1.Win.Collections.ObjectModel.ObservableDictionary<TKey,TValue> contains an element with the key; otherwise, false.
    See Also