Spread Windows Forms 14.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / BaseKeyCollection Class / ContainsKey Method
The key to locate in the BaseKeyCollection.


In This Topic
    ContainsKey Method (BaseKeyCollection)
    In This Topic
    Determines whether the BaseKeyCollection contains a specific key.
    Syntax
    'Declaration
     
    
    Public Overridable Function ContainsKey( _
       ByVal key As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As BaseKeyCollection
    Dim key As String
    Dim value As Boolean
     
    value = instance.ContainsKey(key)
    public virtual bool ContainsKey( 
       string key
    )

    Parameters

    key
    The key to locate in the BaseKeyCollection.

    Return Value

    true if the BaseKeyCollection contains an element with the specified key; otherwise, false.
    See Also